mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests generic/318: user namespace uid/gids in an ACL
Signed-off-by: Dwight Engen <dwight.engen@oracle.com> Reviewed-by: Rich Johnston <rjohnston@sgi.com> Signed-off-by: Rich Johnston <rjohnston@sgi.com>
This commit is contained in:
committed by
Rich Johnston
parent
531a2473ce
commit
511f9be259
+14
@@ -54,6 +54,20 @@ _acl_filter_id()
|
||||
-e "s/ $acl3 / id3 /"
|
||||
}
|
||||
|
||||
_getfacl_filter_id()
|
||||
{
|
||||
sed \
|
||||
-e "s/user:$acl1/user:id1/" \
|
||||
-e "s/user:$acl2/user:id2/" \
|
||||
-e "s/user:$acl3/user:id3/" \
|
||||
-e "s/group:$acl1/group:id1/" \
|
||||
-e "s/group:$acl2/group:id2/" \
|
||||
-e "s/group:$acl3/group:id3/" \
|
||||
-e "s/: $acl1/: id1/" \
|
||||
-e "s/: $acl2/: id2/" \
|
||||
-e "s/: $acl3/: id3/"
|
||||
}
|
||||
|
||||
# filtered ls
|
||||
#
|
||||
_acl_ls()
|
||||
|
||||
Reference in New Issue
Block a user