Permissions not inherited by files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba |
Unknown
|
Unknown
|
|||
samba (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Bug Description
Samba version used:
4.3.9+dfsg-
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.
tags: | added: regression-release |
Status changed to 'Confirmed' because the bug affects multiple users.