[Samba] Extended ACL stealing ownership on 3.2.7
walk2sun at arcor.de
Fri Feb 6 09:49:24 GMT 2009
> Hi all,
> After setting permissions on a file. If anyone authorised to open the
> file writes to it, the ACL gets deleted and that person becomes the
> owner of the file and the group is reset to the default.
That may be OK,
because some apps
create a .tmp file before saving,
then delete the original file
and last rename the .tmp file to the orinial filename.
And what permissions have you set on the share?
> For example,
> whenever a certain user opens and changes a file in the problem
> folder he becomes the owner and another gets kicked of the list:
> More clearly, lee was the last one to write to this spreadsheet:
> getfac example.xls
> # file: example.xls
> # owner: joe
> # group: testgroup
> How do I keep rwx on all the additional users, as they all aren't
> part of the "testgroup" group.
Create a group for the Users who should write to this directory:
member: graham, julia, paul
!!! parent directory !!!:
# owner: root
# group: testgroup
And now create a file in this directory or share and check the effective
rights from a Windows XP Client
I have not testet this setup. But I am shure you get the right
The acl entries beginning with "default" are the rights for new created
directories and files.
Avoid setting rights in the share definition, at least for testing this.
More information about the samba