-----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-----
Mark. On 20 Nov 2007, at 18:57, "Robert L. Harris" <robert.l.harris@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
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@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
If you read the smb.conf manpage, you'll notice this: inherit acls (S) This parameter can be used to ensure that if default acls exist on parent directories, they are always honored when creating a subdirectory. The default behavior is to use the mode specified when creating the directory. Enabling this option sets the mode to 0777, thus guaranteeing that default directory acls are prop- agated. Default: inherit acls = noSo, in essense, inherit acls and inherit permissions are at odds with one another. Seems as if you'll have to pick one or the other. _________________________________________________________________ You keep typing, we keep giving. Download Messenger and join the i?m Initiative now. http://im.live.com/messenger/im/home/?source=TAGLM
Maybe Matching Threads
- Samba problems in stable?
- Puppet doesnt run
- DO NOT REPLY [Bug 4138] New: Incoming chmod can't override inherited directory setgid
- [Bug 13239] New: "rsync --times" does not keep dirs' setgid bits when user not member of setgid group
- Sieve doesn't find user scripts