Comment 2 for bug 254877

Revision history for this message
Heretic (heretic-q2) wrote :

I'm sorry first topic is incorrect in ACL permissions.

Steps:
1. There is a folder with acl permissions in this folder is a folder "folder1" which are files with name "file1", "file2", "file3" permissions to file similar folder:
getfacl - numeric ./folder1
user:: rwx
group:: rwx
group: 10004: rwx
mask:: rwx
other ::---
default: user:: rwx
default: group:: rwx
default: group: 10004: rwx
default: mask:: rwx
default: other ::---

2. In Konqueror, Dolphin copy folder
3. Opens second "folder2" folder in which the following ACL:
getfacl - numeric ./folder2
user:: rwx
group:: rwx
group: 10005: rwx
mask:: rwx
other ::---
default: user:: rwx
default: group:: rwx
default: group: 10005: rwx
default: mask:: rwx
default: other ::---

4. Inserts in "folder2" folder with name "folder1", after inserting a folder in mc (nautilus), ACL permissions inherited from folders with name "folder2" unlike Konqueror, Dolphin.
5. After ACL in "folder1" viewer, we see that the permissions of the folder have changed, as it should be:
getfacl - numeric ./folder2/folder1
user:: rwx
group:: rwx
group: 10005: rwx
mask:: rwx
other ::---
default: user:: rwx
default: group:: rwx
default: group: 10005: rwx
default: mask:: rwx
default: other ::---

But if you look at the files in this folder, then their permissions remained unchanged

getfacul - numeric ./folder2/folder1/file1
user:: rwx
group:: rwx
group: 10004: rwx
mask:: rwx
other ::---
default: user:: rwx
default: group:: rwx
default: group: 10004: rwx
default: mask:: rwx
default: other ::---

It was expected that after copying folders with name "folder1", it has the permissions to default inherit from the folder "folder2". While copying in mc or nautilus permissions to a folder copied correctly inherited from the folder which one level above.