bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8527: cp/mv in coreutils don't respect the default ACL of parent


From: f0rhum
Subject: bug#8527: cp/mv in coreutils don't respect the default ACL of parent
Date: Wed, 8 Oct 2014 11:57:08 +0200 (CEST)

And creations in the copied dir are OK:
Here the ~faulty~ acl for memory:
# file: srv/test/200402/
USER   me               rwx  rwx
user   reader           R-X  r-x
GROUP  writers          RWX  rwx
group  reader           R-X  r-x
group  writers          RWX  rwx
mask                    ---  rwx
other                   ---  ---

Then creations
address@hidden:/srv$ mkdir test/200402/dir
address@hidden:/srv$ touch test/200402/dir/file
   
address@hidden:/srv$ getfacl -Rt test/200402/dir
# file: test/200402/dir
USER   me               rwx  rwx
user   reader           r-x  r-x
GROUP  writers          rwx  rwx
group  reader           r-x  r-x
group  writers          rwx  rwx
mask                    rwx  rwx
other                   ---  ---

# file: test/200402/dir/file
USER   me               rw-     
user   reader           r-X     
GROUP  writers          rwX     
group  reader           r-X     
group  writers          rwX     
mask                    rw-     
other                   ---

Are OK regard to the parent's correct "Default mask", but only me as the USER 
can do this because other writers lost rwx on parent copy (200402 dir)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]