diff options
author | Nathan Scott <nathans@sgi.com> | 2002-03-11 23:42:35 +0000 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2002-03-11 23:42:35 +0000 |
commit | 910537f4f43ff221d86b8f68879c5bad6f7ad62d (patch) | |
tree | 1990114edc63b06348716b20fa64046d97bdf927 /test | |
parent | d274705be1952dffae434ca656f027383fc233c6 (diff) | |
download | acl-910537f4f43ff221d86b8f68879c5bad6f7ad62d.tar.gz |
man page and test script updates from Andreas.
Diffstat (limited to 'test')
-rw-r--r-- | test/setfacl.test | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/setfacl.test b/test/setfacl.test index 94b157d..46b9d51 100644 --- a/test/setfacl.test +++ b/test/setfacl.test @@ -108,3 +108,16 @@ setfacl: g: Resulting ACL `user::rwx,user:root:---,user:joe:rw-,group::r-x,other !setfacl --test -m d:u:joe:rwx setfacl !setfacl --test -n -m d:u:joe:rwx setfacl $ rm g +! +! Check if the mask is properly recalculated +! +$ mkdir d +$ setfacl --test -m u::rwx,u:@OWNER@:rwx,g::r-x,o::--- d +d: u::rwx,u:ag:rwx,g::r-x,m::rwx,o::---,* +$ setfacl --test -m u::rwx,u:@OWNER@:rwx,g::r-x,m::---,o::--- d +d: u::rwx,u:ag:rwx,g::r-x,m::---,o::---,* +$ setfacl --test -d -m u::rwx,u:@OWNER@:rwx,g::r-x,o::--- d +d: *,d:u::rwx,d:u:ag:rwx,d:g::r-x,d:m::rwx,d:o::--- +$ setfacl --test -d -m u::rwx,u:@OWNER@:rwx,g::r-x,m::---,o::--- d +d: *,d:u::rwx,d:u:ag:rwx,d:g::r-x,d:m::---,d:o::--- +$ rmdir d |