Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/sqlite/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
o+的许可号码是多少;linux中的t_Linux_File Permissions - Fatal编程技术网

o+的许可号码是多少;linux中的t

o+的许可号码是多少;linux中的t,linux,file-permissions,Linux,File Permissions,o+t的许可号码是多少 它必须接近1755年,但这是不对的 使用chmodo+tmydir。我得到了drwxrwsr-t 使用chmod 1755 mydir。我得到d-wx-ws-t 我想知道o+t的权限数很容易找到: touch test chmod 0000 test chmod o+t test stat test 。。。给你:1000(八进制)你所说的t是什么意思?o=其他人理解,但to+t是一种相对模式,相当于+t(它不属于u/g/o)。相当于增加+1000。你最终会得到什么取决于

o+t的许可号码是多少

它必须接近1755年,但这是不对的

使用chmodo+tmydir。我得到了drwxrwsr-t

使用chmod 1755 mydir。我得到d-wx-ws-t


我想知道o+t的权限数

很容易找到:

touch test
chmod 0000 test
chmod o+t test
stat test

。。。给你:1000(八进制)

你所说的
t
是什么意思?o=其他人理解,但t
o+t
是一种相对模式,相当于
+t
(它不属于u/g/o)。相当于增加+1000。你最终会得到什么取决于文件的前一种模式。我希望人们能评论一下他们为什么排名下降。在没有反馈的情况下,新员工如何在网站上变得更好?这也是一个好问题!这可能不是最好的措辞,但我已经到处寻找答案。这不是一个好问题,因为它不属于stackoverflow:它不是关于编程。它是关于编程。。。我正在执行perl chmod命令,需要知道复制o+t权限的数字。chmod的哪个部分没有编程lol。这是一个目录,因为我似乎不能重复你的代码。是的,一个文件是1000,但一个目录是drwxrwsr-t,但我不知道它的数字表示。检查这个。。一旦你得到它,它是简单的。