ls
报告以下内容:
# ls -ld /var/lib/puppet/state/
drwxr-xr-t 3 puppet puppet 4096 Jan 8 16:53 /var/lib/puppet/state/
“t”对其他人意味着什么?哪种工具报告权限的符号名称?
ls
具有--numeric-uid-gid
选项,但是是否还有另一个权限?
最佳答案
man ls
是您的 friend :
t The sticky bit is set (mode 1000), and is searchable or executable.
(See chmod(1) or sticky(8).)
关于sticky bit:
When set, it instructed the operating system to retain the text segment of the program in swap space after the process exited. This speeds up subsequent executions by allowing the kernel to make a single operation of moving the program from swap to real memory. Thus, frequently-used programs like editors would load noticeably faster.
关于ls - ls输出中的 "t"是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14220594/