Jens Nissen
2007-Nov-23 14:50 UTC
[Samba] Strange Inheritance of folder rights in Version 3.026a
Assume folder hierarchy /service/f1/f2/f3. I have initially disabled acl inheritance in smb.conf for "service". Neither folder service,f1,f2,f3 has the right "Inherit rights from parent" set. (I had to translate the Windows-check-boxes' texts, I hope that it is possible to follow my actions) (A) Now I apply the property "Inherit rights from parent" to folder f2. Once I press OK, the right disappears again.>> Obviously, the right was set, then the right to inherit the right wasinherited from folder f1 and thus finally deleted again from folder f2. (B) Now I fool Samba by setting the advanced rights "Inherit rights from parent" and "Propagate rights to contained folders" to folder f2. This sets the right "Inherit rights from parent" to folder **f3** (only).>> Again, it looks as though the right is first set on f2, thenpropagated to f3, afterwards inherited from f1 and thus finally deleted from f2. All this is very different from Windows and User expectation. IMHO, the right to inherit a right from the parent should not be inherited from the parent itself! Could you fix this, please? Kind regards, Jens P.S: This seems related to https://bugzilla.samba.org/show_bug.cgi?id=4955 P.P.S: From my smb.conf [global] security=Ads nt acl support=Yes ea support=Yes ... [smbtest] available=Yes browseable=Yes comment=SMB Torture Folder create mask=0777 directory mask=0777 dos filemode=Yes guest ok=No hosts allow hosts deny inherit acls=No inherit owner=No inherit permissions=No invalid users map acl inherit=Yes map archive=No map hidden=No map read only=No map system=No path=/export/smbtest read only=No store dos attributes=Yes
Maybe Matching Threads
- SEM Model Not Converging
- [LLVMdev] [NVPTX] llc -march=nvptx64 -mcpu=sm_20 generates invalid zero align for device function params
- [Bug 1432] New: ebtables ebtables-2.0.11 buffer overflow on getting kernel data ( ebtables compiled with address sanitizer)
- sem package (version 2.1-1)
- sem package (version 2.1-1)