[Samba] Permission and Owner issue on child file/folder
TAKAHASHI Motonobu
monyo at monyo.com
Tue Mar 15 05:58:39 MDT 2011
From: Brajesh Shrivastava <brajeshshri at gmail.com>
Date: Tue, 15 Mar 2011 16:59:12 +0530
> > How about these parameters:
> > inherit permissions = yes
> > inherit owner = no
> 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.
Does your "permission" mean just permision or ACL?
And do you set "store dos attributes = yes"?
Please show me
-----
$ ls -la /parentdir
$ getfacl /parentdir
$ ls -la /parentdir/createdfile
$ getfacl /parentdir/createdfile
-----
And the expected:
-----
$ ls -la /parentdir/createdfile
$ getfacl /parentdir/createdfile
-----
And your smb.conf.
---
TAKAHASHI Motonobu <monyo at monyo.com>
More information about the samba
mailing list