Default ACL not inherited as Access ACL on copy and move
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
coreutils (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Ubuntu Desktop 14.04 fresh default installation
Default ACL and gid are set OK on parent folder (/srv/parent). (ext4)
mkdir child /srv/parent
and
touch /srv/parent/file /srv/parent/
OK Both /srv/parent/file, /srv/parent/child/, /srv/parent/
cp -r /media/
Although, default:mask::rwx is ok.
For regular (i.e. non dir) files in the copied SomeTree, Access ACL mask::r-- instead of rwx, resulting in only r out of the set permissions for named users and groups will survive. KO
setfacl --set or -m reports no error
Workaround : grant permissions to users that would not have them, eg. o+rX or adduser reader writersgroup
information type: | Private Security → Public Security |
description: | updated |
tags: | added: coreutils |
summary: |
- Default ACL not inherited as Access ACL on copy + Default ACL not inherited as Access ACL on copy and move |
http:// debbugs. gnu.org/ cgi/bugreport. cgi?bug= 8527