-u file 如果设置了文件的 SUID 位,则为真 -w file 如果文件可写,则为真 -x file 如果文件可执行,则为真file1 -ef file2 测试以判断两个文件是否与同一个设备相连,是否拥有相同的 inode 编号 .
基于68个网页-相关网页
然而,如果在一个合法的suid可执行程序与一个人人可写的目录在同一个文件系统中,因此使用nosuid选项来挂载的,那么sui d位就会被忽略,这个可执行程序也就无法正确执行。
However, if a legitimate suid executable is on the same file system as a world writable directory and is thus mounted nosuid, the suid bits are ignored and the executable will not operate correctly.
如果给定的文件名可写,则该函数将返回True。
如果你想使用内置的外观主题编辑器,那么所有的文件都应是组可写的。
If you want to use the built-in theme editor, all files need to be group writable.
应用推荐