[Bug 1592326] Re: Permissions not inherited by files
Brian Murray
brian at ubuntu.com
Tue Jun 14 19:49:05 UTC 2016
** Tags added: regression-release
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1592326
Title:
Permissions not inherited by files
Status in samba:
Unknown
Status in samba package in Ubuntu:
New
Bug description:
Samba version used:
4.3.9+dfsg-0ubuntu0.16.04.2
Steps to reproduce:
1. Configure a samba share with inherited permissions:
[share1]
path = /srv/share1
browseable = yes
read only = no
guest ok = no
inherit permissions = yes
2. Create a directory under that share:
cd /srv/share1; mkdir inherit && chown 2770 inherit
3. Connect to this share from a Windows client and create a file and a
folder in the new directory.
What is expected?
Both file and directory have permissions inherited from the parent directory.
What happens?
├── [drwxrws---] ./inherit
│ ├── [-rwxr-----] ./inherit/New text document.txt
│ └── [drwxrws---] ./inherit/New folder
File has not inherited the group-write permission.
This should not be the case according to the manpage 5 smb.conf:
New files inherit their read/write bits from the parent directory.
In this case the containing folder group write permission has not been
inherited.
The inheritance worked as expected in 4.1.6.
To manage notifications about this bug go to:
https://bugs.launchpad.net/samba/+bug/1592326/+subscriptions
More information about the foundations-bugs
mailing list