[Samba] SETGID not being inherited

Mark Adams mark at campbell-lange.net
Wed Nov 21 14:35:37 GMT 2007


Apologies for the blank mail, iphone misbehaving.

you can use "force directory mode = 2770" in each share config or globally.

see

http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/AccessControls.html

Cheers,
Mark



On Wed, Nov 21, 2007 at 02:30:57PM +0000, Mark Adams wrote:
>
>
> Mark.
>
>
> On 20 Nov 2007, at 18:57, "Robert L. Harris" <robert.l.harris at gmail.com> 
> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>>
>> I have an Debian system running samba 3.0.14a from sarge.  It is
>> exporting a file system, /data.  This file system has the perms 2770.
>> I have set the following in the smb.conf:
>>
>> inherit permissions = yes
>> inherit acls = yes
>>
>> I mount the filesystem from a linux, ubuntu, client and create a
>> directory.  The directory comes out with perms 0770.  I can chmod 2770
>> the directory and it takes the setgid just fine.  What am I missing,
>> where, in order to have the setgid pass down to the new directories on
>> the server properly?
>>
>> Robert
>>
>> - --
>>
>> :wq!
>> -
>> ---------------------------------------------------------------------------
>> Robert L. Harris                     | GPG Key ID: E344DA3B
>>                                         @ x-hkp://pgp.mit.edu
>> DISCLAIMER:
>>      These are MY OPINIONS             With Dreams To Be A King,
>>       ALONE.  I speak for              First One Should Be A Man
>>       no-one else.                       - Manowar
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.6 (GNU/Linux)
>>
>> iD8DBQFHQy4n8+1vMONE2jsRAqF9AKCk3E8nY8pQDpkBT6I2TEj7sUc8EQCcCck1
>> FvQX1lHPjsRKzZNyBMMTc+s=
>> =uDVx
>> -----END PGP SIGNATURE-----
>>
>> -- 
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/listinfo/samba
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba


More information about the samba mailing list