VMarco
2003-Sep-24 16:30 UTC
[Samba] Part 2: What is the meaning of create mask / directory mask
What we are trying to do is something like where; User A User B User C User D whereby User D's files can be read-write by only C,B ,A whereby User C's files can be read-write by only B,A whereby User B's files can be read-write by only A. that is we want some hierachy . How do we do this ? How do we set the permissions on the actual folders on the Hard Drives and how do we set the permissions in smb.conf ? Is there a difference ? Will permissions on smb.conf override the actual folder permissions? Thanx. Marco User
Wiktor Wodecki
2003-Sep-24 16:33 UTC
[Samba] Part 2: What is the meaning of create mask / directory mask
On Thu, Sep 25, 2003 at 12:30:16AM +0800, VMarco wrote:> What we are trying to do is something like where; > > > User A > > User B > > User C > > User D > > whereby User D's files can be read-write by only C,B ,A > whereby User C's files can be read-write by only B,A > whereby User B's files can be read-write by only A. > > that is we want some hierachy . How do we do this ?have a look at http://acl.bestbits.at/ -- Regards, Wiktor Wodecki
John H Terpstra
2003-Sep-24 16:58 UTC
[Samba] Part 2: What is the meaning of create mask / directory mask
On Thu, 25 Sep 2003, VMarco wrote:> What we are trying to do is something like where; > > > User A > > User B > > User C > > User D > > whereby User D's files can be read-write by only C,B ,A > whereby User C's files can be read-write by only B,A > whereby User B's files can be read-write by only A. > > that is we want some hierachy . How do we do this ?Suggest you refer to the Samba-HOWTO-Collection.pdf for SAmba-3.0.0. A curent copy is available from: http://samba.org/~jht/HOWTO/Samba-HOWTO-Collection.pdf Suggest you read chapter 13, "File, Directory and Share Access Controls". You should also read, Chapter 12, "Group Mapping: MS Windows and UNIX" - John T.> > How do we set the permissions on the actual folders on the Hard Drives and how do we set the permissions in smb.conf ? Is there a > difference ? Will permissions on smb.conf override the actual folder permissions? > Thanx. > > Marco > > User > >-- John H Terpstra Email: jht@samba.org