Samba file ownership question.

Mike Brodbelt m.brodbelt at acu.ac.uk
Fri Mar 26 15:10:46 GMT 1999


This is not strictly a domain related issue, so I hope people will
forgive me for asking it here.

I have a Samba 2.0.3 server running on RedHat Linux 5.1, kernel 2.0.36.
I have created a share for peoples home directories that maps to
/home/%u/shared, which works fine. I have added a share that maps to
/home, that is accessible only to two admin users, and this also works
ok. However, even though I have set the setgid bit on the "shared"
directory in each users home directory, Samba is creating any new files
as UID root, GID root. I want the GID to be set to the appropriate user,
so that the admins can create file in the users home directories that
the users can edit/delete later. Help.....

Mike.


More information about the samba-ntdom mailing list