[dolphin] [Bug 429043] New: Dolphin ignores the default ACL of a destination folder when copying/moving files

Yar4e bugzilla_noreply at kde.org
Fri Nov 13 06:21:34 GMT 2020


https://bugs.kde.org/show_bug.cgi?id=429043

            Bug ID: 429043
           Summary: Dolphin ignores the default ACL of a destination
                    folder when copying/moving files
           Product: dolphin
           Version: 19.12.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: kiber_pank4 at mail.ru
                CC: kfm-devel at kde.org
  Target Milestone: ---

Dolphin ignores the default ACL of a destination folder when copying/moving
files and preserves ACL of a source file.

STEPS TO REPRODUCE
1. Make sure that the ACL is enabled for the test mount point(/home for
example) and you have two test users in the system (user1 and user2 for
example).

2. Create two test directories test1 and test2:
mkdir /home/username/test1
mkdir /home/username/test2

3. Set ACL for directories:
setfacl -m d:u:user1:rwx /home/username/test*
setfacl -m u:user1:rwx /home/username/test*
setfacl -m d:u:user2:rwx /home/username/test2
setfacl -m u:user2:rwx /home/username/test2

4. Create empty file in test2 directory and verify the ACL it received:
touch /home/username/test2/testfile
getfacl /home/username/test2/testfile
# file: home/username/test2/testfile
# owner: user1
# group: user1
user::rw-
user:user1:rwx                  #effective:rw-
user:user2:rwx                  #effective:rw-
group::r-x                      #effective:r--
mask::rw-
other::r--

5. Use Dolphin to copy or move this testfile to the test1 directory and verify
the ACL it received:
getfacl /home/username/test1/testfile
# file: home/username/test1/testfile
# owner: user1
# group: user1
user::rw-
user:user1:rwx                  #effective:rw-
user:user2:rwx                  #effective:rw-
group::r-x                      #effective:r--
mask::rw-
other::r--

OBSERVED RESULT
File testfile preserves its ACL.


EXPECTED RESULT
File testfile get default ACL from test1 directory. All other tools respects
default ACL when copying/moving files with them (mc, cp, mv, thunar, nemo
etc.). 


Operating System: Alt Linux P9
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.12.9
Kernel Version: 5.7.19-un-def-alt1


ADDITIONAL INFORMATION
I can test problem in another distribution with more fresh software. Let me
know if you need it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list