[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Acl-devel] ACL has no affect.
From: |
Jan Engelhardt |
Subject: |
Re: [Acl-devel] ACL has no affect. |
Date: |
Sat, 29 Mar 2014 14:06:05 +0100 (CET) |
User-agent: |
Alpine 2.11 (LSU 23 2013-08-11) |
On Saturday 2014-03-29 04:58, dE wrote:
> I've add users and groups to ACL, but they seem to get ignored. They've no
> affect at all. Even the default user/group/other permissions have no affect.
>
> getfacl ACL/
> # file: ACL/
> # owner: root
> # group: root
> user::rwx
> group::rwx
> other::rwx
> default:user::rwx
> default:user:de:---
> default:group::rwx
> default:mask::rwx
> default:other::rwx
>
> address@hidden ~ $ cd ACL/; ls
> dir file
>
> So default:user:de:--- is being ignored.
"default" only applies to newly-created objects, which ls does not do.
Nothing is ignored.
> # group: root
> user::rwx
> group::rwx
> other::---
> default:user::rwx
> default:user:de:rwx
> default:group::rwx
> default:mask::rwx
> default:other::---
>
> To get --
>
> $ cd ACL/; ls
> bash: cd: ACL/: Permission denied
This is because "other::---" matches your identity.