I have user who have access to their home directories on the samba server. The supervisor has access to these home directories. When the supervisor creates a file the ownership of the file is in his name and the user cannot access it. (well, she can access it, but cannot write to it) Is there any way to get around this?
> I have user who have access to their home directories on the samba server. > > The supervisor has access to these home directories. > > When the supervisor creates a file the ownership of the file is in his > name and the user cannot access it. (well, she can access it, but > cannot write to it) > > Is there any way to get around this?Yes. You need to configure samba properly and configure your posix file system properly. However, without any information about your setup no one can help. -- John M. Drescher
2010/1/26 John Drescher <drescherjm at gmail.com>:>> I have user who have access to their home directories on the samba server. >> >> The supervisor has access to these home directories. >> >> When the supervisor creates a file the ownership of the file is in his >> name and the user cannot access it. (well, she can access it, but >> cannot write to it) >> >> Is there any way to get around this? > > Yes. You need to configure samba properly and configure your posix > file system properly.Just use filesystem acls correctly on filesystem. -- Eero
On 01/26/2010 12:50 PM, Dave Coventry wrote:> I have user who have access to their home directories on the samba server. > > The supervisor has access to these home directories. > > When the supervisor creates a file the ownership of the file is in his > name and the user cannot access it. (well, she can access it, but > cannot write to it) > > Is there any way to get around this? >Ensure that the directory has the correct permissions, then add this to the share definition: inherit owner = Yes