[Samba] inherit owner

Felipe Augusto van de Wiel felipe at paranacidade.org.br
Wed Sep 13 13:37:26 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey,

On 09/11/2006 06:32 PM, Scott M Parrish escreveu:
> I'm having a problem with inherit owner...  it doesn't seem to work at all.
> 
> This directory is shared
> drwxrwsr-t 3 projectadmin Project Authors 4096 Sep  8 15:59 testing
> 
> Using this global definitiion
> # Global parameters
> [global]
> workgroup = TEST
> realm = MYDOMAIN.LOCAL
> preferred master = no
> server string = Masterprojects File Server
> security = ADS
> encrypt passwords = yes
> log level = 2
> log file = /var/log/samba/%m
> max log size = 50
> winbind separator = +
> winbind use default domain = Yes
> winbind nested groups = Yes
> template shell = /bin/bash
> idmap uid = 10000-20000
> idmap gid = 10000-20000
> winbind enum users = yes
> winbind enum groups = yes
> inherit acls = yes
> inherit owner = yes
> 
> And this Share Definition
> [testing]
> comment = testing
> path = /tmp/testing
> browseable = yes
> public = yes
> writable = yes
> inherit acls = yes
> inherit owner = yes
> force create mode = 555
> force directory mode = 2775
> force group = "TEST+Project Authors"
> guest ok = yes
> guest only = no
> users = @"TEST+Project Authors"
> 
> But when I connect to it and create a file it ends up looking like this
> -rwxr-xr-x 1 testuser project authors    0 Sep 11 15:28 TestFile.txt.txt
> 
> Which just isn't right.  It should belong to "projectadmin" and not
> testuser.
> 
> In the end what I want is for members of the "TEST+Project Authors" to
> be able to mount and add files to this share, but once they have been
> added, to lose the ability to write and delete them.  Can anybody
> point out where I've gone wrong?

	Which version of Samba do you use?

	There is a thread that myabe could help you:

		http://www.gatago.com/linux/samba/14523698.html


	Kind regards,

- --
Felipe Augusto van de Wiel <felipe at paranacidade.org.br>
Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE
http://www.paranacidade.org.br/           Phone: (+55 41 3350 3300)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFFCAmWCj65ZxU4gPQRAvwKAKC+Mhm+cmUEMVi2RBY3vmmZw5lXbQCghwds
zLDh1qSG1a9o7pxIfX8qdlY=
=uuYj
-----END PGP SIGNATURE-----


More information about the samba mailing list