> Yes, msec will mess your permissions up on /share.  I will
> show you how to do this for the samba share "docs" that is
> accessable by "docusers".  You already have /share so as root
>
> cd /share
> chown root.root .
> chmod 755 .
> groupadd docusers
> mkdir -m 2770 docs
> chown root.docusers docs
>
> add this to smb.conf
> [Docs]
>         comment = share for docusers
>         path = /share/docs
>         browseable = no
>         guest ok = no
>         valid users = @docusers
>         writeable = yes
>         create mask = 771
>         directory mask = 770
>         map hidden = yes
>         map archive = yes
>         map system = yes
>         available = yes
>
> now edit /etc/group and find the entry for docusers
>
> docusers:x:499:
>
> [Note, the number may be different.  That's ok.]
>
> now add the users that you want to be able to access this share
> to this line and save your changes
>
> docusers:x:499:user1,user2,user4
>
>
> After saving the changes, then finally do a:
>
> service smb reload
>
> Your users may have to log off and back on before they
> can map the drive.  They won't see the share in Network
> Neighborhood because we set browesable = no.  Change it
> to yes if needed.  If you make a change you must do:
>
> service smb reload
>
> and they MAY need to log off and back on to see your change.
>
>
> Each file or directory created in /share/docs will be owned
> by the user that created it and have the group of "docusers".
> All members of group "docusers" can edit/delete files/directories.
>
> Hope this helps,
>
> Bill Shirley

Maybe this helps...
seems this happens only if the conection is idle for some time...
If I keep working in the client machine, the /share/docs works without
problems

thanx

Flávio Henrique


____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to