setgid-check
来自「Linux下文件工具。」· 代码 · 共 26 行
TXT
26 行
# -*- sh -*-# Disable the current test if the working directory seems to have# the setgid bit set.# This test should be run in the temporary directory that ends# up being removed via the trap commands.cwd_is_setgid=nosetgid_tmpdir=setgid-$$(umask 77; mkdir $setgid_tmpdir)p=`ls -ld $setgid_tmpdir|sed 's/ .*//'`rmdir $setgid_tmpdircase $p in drwx------);; drwxr-xr-x);; # Windows98 + DJGPP 2.03 + fileutils-4.1 does this. *) cwd_is_setgid=yes;;esacif test $cwd_is_setgid = yes; then cat <<EOF >&2$0: Since it looks like you're running this test in a directory withthe setgid bit set, we're skipping this test.EOF (exit 77); exitfi
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?