acl-devel
[Top][All Lists]
Advanced

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

Re: [Acl-devel] Default acl not respected when copying


From: Andreas Grünbacher
Subject: Re: [Acl-devel] Default acl not respected when copying
Date: Tue, 14 Oct 2014 21:25:38 +0200

Hello person without a name,

I've just described how cp should behave in my reply to Michael.

2014-10-14 12:19 GMT+02:00  <address@hidden>:
> # file: srv/test//dir
> USER   mee              rwx  rwx
> user   reader           R-X  r-x  (rx lost)
> GROUP  writers          RWX  rwx  (all lost)
> group  reader           R-X  r-x  (rx lost)
> group  writers          RWX  rwx  (all lost)
> mask                    ---  rwx  (effective is lost?)
> other                   ---  ---

The source file permissions matter, so check them.

> # file: srv/test//dir/file
> USER   mee              rw-
> user   reader           r-X  (all lost (can't traverse dir))
> GROUP  writers          rWX  (all lost (can't traverse dir))
> group  reader           r-X  (all lost (can't traverse dir))
> group  writers          rWX  (all lost (can't traverse dir))
> mask                    r--  (write lost)
> other                   ---

Isn't srv/test/dir/file a regular file? Regular files cannot have
default acls. That would be useless: default acls only take effect at
create time, and you can only create files/directories inside a
directory.

Andreas



reply via email to

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