From: Eero Volotinen on
2010/1/26 mistofeles <ptmusta(a)utu.fi>:
>
> Is there some simple documentation about how to set the user permissons in a
> Samba server ?
>
> In my server I have the permissions like this:
> drwxrwx--- 3 mydemo domain users 4096 2009-12-29 08:19 mydemo
> Now the other users can not read nor write to this directory.
>
> If I copy this directory anywhere, anybody can read and write there. (I have
> my reasons to make a copy)
> Is there any way to make these directories PRIVATE to the owner only ?
> I have tried chmod and chown with various values .
>
> In smb.conf I have:
> [%U]
> comment = Own home dir
> path = /home/%U
> writeable = yes
> valid users = %U
> [BCK]
> comment = Here I copy the home dirs
> path = /BACKUP/backup
> browseable = yes
> read only = yes

Use acl on filesystem, see examples at:
http://www.vanemery.com/Linux/ACL/linux-acl.html

--
Eero,
RHCE
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba