Whamcloud - gitweb
LU-17744 ldiskfs: mballoc stats fixes
[fs/lustre-release.git] / lustre / tests / acl / 4924.test
1 LU-4924 - chmod g+s, touch should not clear sgid bit
2
3         $ mkdir 4924
4         $ cd 4924
5         $ touch f
6         $ chmod u=rwx,g=rwxs f
7         $ ls -l f | awk -- '{sub(/\\./, "", $1); print $1, $3, $4 }'
8         > -rwxrwsr-- root root
9         $ touch f
10         $ ls -l f | awk -- '{sub(/\\./, "", $1); print $1, $3, $4 }'
11         > -rwxrwsr-- root root
12         $ cd ..
13         $ rm -rf 4924