Whamcloud - gitweb
LU-11297 lnet: MR Routing Feature
[fs/lustre-release.git] / lustre / tests / acl / 974_remote.test
1 LU-974 ignore umask when default acl with mask is set
2 # Need to remove trailing '.' when SELinux is enabled
3
4         $ umask 022
5         $ lfs mkdir -i 1 974
6
7         $ touch 974/f1
8         $ ls -dl 974/f1 | awk '{ sub(/\\.$/, "", $1); print $1 }'
9         > -rw-r--r--
10
11         $ setfacl -R -d -m mask:007 974
12         $ touch 974/f2
13         $ ls -dl 974/f2 | awk '{ sub(/\\.$/, "", $1); print $1 }'
14         > -rw-rw-r--+
15
16         $ umask 077
17         $ touch f3
18         $ ls -dl f3 | awk '{ sub(/\\.$/, "", $1); print $1 }'
19         > -rw-------
20
21         $ rm -rf 974
22