Cred ca o sa ma injure unii da' deh ... hai sa dau shi io cu
bata in balta ... ce kernel ai ?
        Eu am avut probleme de genu' o sheruiala montata cu smbmount nu
ramanea montata, dupa un anumit timp capatam io error or something
        Rezolvarea a aparut cu kernelul 2.4.19 ... rebootam windozu' pe
care era sheruiala shi dupa ce termina de rebootat pe linux mergea
de parca nimic nu s-ar fi intamplat !

On 21 Nov 2002 16:12:24 +0200
Dragos-Traian Georgescu <[EMAIL PROTECTED]> wrote:

> > 
> > atunci foloseste si optiunile -uid si/sau -gid la smbmount cu dmask si fmask 
>corespunzatoare.
> > tu montezi cu root intr-un singur loc, da? si aci vrei ca toti sa scrie cu 
>aceleasi drepturi, ca daca da. e usor.
> > faci smbmount -o gid=group_useri,dmask=0770,fmask=0660 (de ex)
> > sunt o groaza de alternative jucandu-te cu uid,gid,dmask,fmask
> > bafta
> > 
> 
> :-)
> Cred ca tu faci o confuzie sau nu ai inteles ce vreau eu.
> gid, uid, dmask, fmask sunt parametri care au efect asupra
> fisierelor/directoarelor ce vor fi scrise in resursa sheruita asa cum
> spune si pagina de manual. Problema e la statia pe care vreau sa montez
> resursele respective adica pe client. Te rog citeste cu atentie despre
> ce este vorba pt. ca am fost suficient de explicit.
> Asa cum se vede foarte clar din exemplul de mai jos unde am redat o
> succesiune de comenzi pe masina client fiind logat ca root. Vezi cu
> atentie owner si drepturi INAINTE si DUPA smbmount.
> 
> [root@traian mnt]# l
> total 24K
> drwxrwxrwx    2 gtd      ics          4.0K Oct 31 11:11 h
> drwxrwxrwx    2 gtd      ics          4.0K Oct 31 11:11 t
> [root@traian mnt]# smbmount //terra/tmp ~gtd/mnt/t -o username=gtd
> -g=ics -u=gtd -dmask=777 -fmask=777
> Password:
> [root@traian mnt]# l
> total 24K
> drwxrwxrwx    2 gtd      ics          4.0K Oct 31 11:11 h
> drwxr-xr-x    1 root     root         4.0K Nov 21 10:07 t
> [root@traian mnt]#
> 
> 
> 
>        uid=<arg>
>               sets the uid that will own all files on the mounted 
> filesystem.
>               It may be specified as either a username or a numeric uid.
> 
>        gid=<arg>
>               sets  the gid that will own all files on the mounted
> filesystem.
>               It may be specified as either a groupname or a numeric
> gid.
> 
>        fmask=<arg>
>               sets the file mask. This determines the permissions that 
> remote
>               files have in the local filesystem.  The default is based
> on the
>               current umask.
> 
>        dmask=<arg>
>               sets the directory mask. This determines  the 
> permissions  that
>               remote directories have in the local filesystem.  The
> default is
>               based on the current umask.
> 

---
Pentru dezabonare, trimiteti mail la 
[EMAIL PROTECTED] cu subiectul 'unsubscribe rlug'.
REGULI, arhive si alte informatii: http://www.lug.ro/mlist/


Raspunde prin e-mail lui