[Samba] inherit owner

Scott M Parrish anithri at gmail.com
Wed Sep 13 19:47:10 GMT 2006


>         Which version of Samba do you use?
>
>         There is a thread that myabe could help you:
>
>                 http://www.gatago.com/linux/samba/14523698.html
I'm using 3.0.23a for Fedora Core 5.

If I'm reading that posting series right, than the problem was that
his version was too early, and that as of 3.0.15 the "Inherit owner"
option is there.

Still not working for me though


Previously on "inherit owner"...
> 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,


-- 
Too Many freaks, Not enough Circuses
  --  Christian Fundin


More information about the samba mailing list