[Samba] ACLS and samba

Jeremy Allison jra at samba.org
Wed Mar 23 18:37:08 GMT 2005


On Thu, Mar 24, 2005 at 12:06:56AM +0800, Adrian Chow wrote:
> HI,
> 
> I guess this question have been asked before:-
> 
> I am running 3.0.12 for samba with acls.
> 
> I have a samba share folder called abc with groups art able to write.  group:art:rwx
> 
> Whenever i write with a user from the art group to the folder, the group id of the file changes to the id of the user instead of remaining as art.
> 
> What do i need to configure so that art group stays as the group id for that file?

You need to set the set GID bit on the directory. This ensures that
files created within it inherit the group of the directory, not the
effective group id of the creating process.

Jeremy.


More information about the samba mailing list