Version: (using KDE 4.2.2) OS: Linux Installed from: I Don't Know Binary package hint: konqueror There's a folder with files having ACL permissions. While copying into an other folder with acl permissions, only folder permissions are inherited. I've tried Dolphin and Konqueror, neither of them work, but mc works fine. 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.
bug can be found at https://bugs.edge.launchpad.net/ubuntu/+source/kdebase/+bug/254877
I found fix, in kdelibs package for me. In Kubuntu 8.04 LTS. KDE 3.5.10. ./apt-build/build/kdelibs-3.5.10/kio/kio/job.cpp 2195c2195 < m_defaultPermissions = false; --- > m_defaultPermissions = true;
Git commit 73ea8cee7661579d3c414f510f6a74fc241c3ecf by David Faure. Committed on 20/08/2012 at 17:53. Pushed by dfaure into branch 'KDE/4.9'. Fix copying of files with extended ACLs. The switch to #cmakedefine01 in KDE Frameworks has detected a missing #include <config-acl.h> in file_unix.cpp ever since it was splitted out. In case we still had a doubt about how much more superior the cmakedefine01 (#if instead of #ifdef) solution is... (not tested, but might help...) M +2 -9 kioslave/file/file.cpp M +10 -0 kioslave/file/file.h http://commits.kde.org/kdelibs/73ea8cee7661579d3c414f510f6a74fc241c3ecf
Seems to be fixed for 4.9. Feel free to reopen if that is not the case.