Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-7483 test: Modifying filtering in acl for SElinux feature
[fs/lustre-release.git]
/
lustre
/
tests
/
acl
/
misc.test
diff --git
a/lustre/tests/acl/misc.test
b/lustre/tests/acl/misc.test
index
cf1d4a0
..
d8ace57
100644
(file)
--- a/
lustre/tests/acl/misc.test
+++ b/
lustre/tests/acl/misc.test
@@
-253,7
+253,7
@@
Add some users and groups
Symlink in directory with default ACL?
$ ln -s d d/l
Symlink in directory with default ACL?
$ ln -s d d/l
- $ ls -dl d/l | awk '{print $1}'
+ $ ls -dl d/l | awk '
sub(/\\./, "", $1);
{print $1}'
> lrwxrwxrwx
$ ls -dl -L d/l | awk '{print $1}'
> lrwxrwxrwx
$ ls -dl -L d/l | awk '{print $1}'
@@
-347,7
+347,7
@@
Remove the default ACL
Reset to base entries
$ setfacl -b d
Reset to base entries
$ setfacl -b d
- $ ls -dl d | awk '{print $1}'
+ $ ls -dl d | awk '{
sub(/\\./, "", $1);
print $1}'
> drwxr-x---
$ getfacl --omit-header d
> drwxr-x---
$ getfacl --omit-header d
@@
-359,7
+359,7
@@
Reset to base entries
Now, chmod should change the group_obj entry
$ chmod 775 d
Now, chmod should change the group_obj entry
$ chmod 775 d
- $ ls -dl d | awk '{print $1}'
+ $ ls -dl d | awk '{
sub(/\\./, "", $1);
print $1}'
> drwxrwxr-x
$ getfacl --omit-header d
> drwxrwxr-x
$ getfacl --omit-header d