[Samba] ACLS and samba
Adrian Chow
achow at uwcsea.edu.sg
Thu Mar 24 05:41:53 GMT 2005
Hi jeremy,
Thanks. But if after I did that and I create a directory underneath it, The new directory will not have guid set... how to solve it?
Thanks again.
adrian
----- Original Message -----
From: Jeremy Allison <jra at samba.org>
To: Adrian Chow <achow at uwcsea.edu.sg>
Cc: samba at lists.samba.org
Sent: Thu, 24 Mar 2005 02:37:08 +0800
Subject: Re: [Samba] ACLS and samba
> 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