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 -- View this message in context: http://old.nabble.com/User-permissions%2C-simple-doc---tp27320256p27320256.html Sent from the Samba - General mailing list archive at Nabble.com.
2010/1/26 mistofeles <ptmusta at 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 = yesUse acl on filesystem, see examples at: http://www.vanemery.com/Linux/ACL/linux-acl.html -- Eero, RHCE
2010/1/26 mistofeles <ptmusta at 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 = yesUse acl on filesystem, see examples at: http://www.vanemery.com/Linux/ACL/linux-acl.html -- Eero, RHCE