Georgi Alexandrov
2006-Nov-15 14:37 UTC
[Samba] different mask for directory inside another share
Hello, let's assume we have: [$someshare] path = /some/path create mask = 0644 directory mask = 0755 Within /some/path there's directory named dir1 for example (/some/path/dir1). Is it possible to define alternative masks for that particular directory without presenting it as a different share. My second question - is it possible to define write list for /some/path/dir1 only. -- regards, Georgi Alexandrov key server - pgp.mit.edu :: key id - 0x37B4B3EE Key fingerprint = E429 BF93 FA67 44E9 B7D4 F89E F990 01C1 37B4 B3EE -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature Url : http://lists.samba.org/archive/samba/attachments/20061115/b7fdf354/signature.bin
Georgi Alexandrov
2006-Nov-15 15:20 UTC
[Samba] different mask for directory inside another share
Thorsten Hamester wrote:> Hello >> [$someshare] >> path = /some/path >> create mask = 0644 >> directory mask = 0755 >> >> Within /some/path there's directory named dir1 for example >> (/some/path/dir1). Is it possible to define alternative masks for that >> particular directory without presenting it as a different share. My >> second question - is it possible to define write list for >> /some/path/dir1 only. > > IMHO the best solution for that scenario ist to use acl. > We also use 'acl group control = Yes' in smb.conf Globa section to make > life easier. > > > > --Thorsten Hamester >Isn't that dependent on the filesystem? it should probably support POSIX ACLs? -- regards, Georgi Alexandrov key server - pgp.mit.edu :: key id - 0x37B4B3EE Key fingerprint = E429 BF93 FA67 44E9 B7D4 F89E F990 01C1 37B4 B3EE -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature Url : http://lists.samba.org/archive/samba/attachments/20061115/468fc0ab/signature.bin