getfacl-noacl.test
来自「lustre 1.6.5 source code」· TEST 代码 · 共 60 行
TEST
60 行
Getfacl utility option parsing tests. This test can be run on afilesystem with or without ACL support. $ mkdir test $ cd test $ umask 027 $ touch x $ getfacl --omit-header x > user::rw- > group::r-- > other::--- > $ getfacl --omit-header --access x > user::rw- > group::r-- > other::--- > $ getfacl --omit-header -d x $ getfacl --omit-header -d . $ getfacl --omit-header -d / > getfacl: Removing leading '/' from absolute path names $ getfacl --skip-base x $ getfacl --omit-header --all-effective x > user::rw- > group::r-- > other::--- > $ getfacl --omit-header --no-effective x > user::rw- > group::r-- > other::--- > $ mkdir d $ touch d/y $ ln -s d l $ getfacl -dR . | grep file | sort > # file: . > # file: d > # file: d/y > # file: x $ ln -s l ll# $ getfacl -dLR ll | grep file | sort# (rhel4)# > # file: ll# > # file: ll/y# (rhel5)# > # file: l# > # file: l/y $ rm l ll x $ rm -rf d $ cd .. $ rmdir test
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?