[Samba] Permission and Owner issue on child file/folder
santiago.diez at quark-systems.com
Tue Mar 15 05:41:57 MDT 2011
When I read Motonobu's answer, the first thing I did was go check the
parameter in smb.conf<http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html>manual.
It's quite obvious that the next parameter, just after *inherit owner (S)*is
*inherit permissions (S)*.
I guess that would do what you need.
**Portable: +33 6 37 90 81 98
Bureau: +33 9 70 44 77 87*
*32 boulevard de Strasbourg, 75010 Paris*
On Tue, Mar 15, 2011 at 12:29 PM, Brajesh Shrivastava <brajeshshri at gmail.com
> Thanks a lot Motonob for immediate response.
> Tried this combination, but it didn't work. When I am trying to create a
> file/folder then full control is being assigned to the user for that
> file/directory. I want to inherit the permission of user from parent
> directory instead of assigning full control.
> Please can you suggest in other way for this.
> On 15 March 2011 16:49, TAKAHASHI Motonobu <monyo at monyo.com> wrote:
> > From: Brajesh Shrivastava <brajeshshri at gmail.com>
> > Subject: [Samba] Permission and Owner issue on child file/folder
> > Date: Tue, 15 Mar 2011 16:38:50 +0530
> > > Hi All
> > >
> > > I want to inherit the parent folder permission on its child
> > > However, owner should be the same user who is creating file/folder
> > > owner shouldn't be inherited from the parent directory). Is there any
> > to
> > > achieve this. I am currently using Samba 3.5.7.
> > How about these parameters:
> > inherit permissions = yes
> > inherit owner = no
> > The default of inherit owner is "no".
> > ---
> > TAKAHASHI Motonobu <monyo at monyo.com>
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
More information about the samba