Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果文件具有以下权限: -rwxr--r-- jim group other file.txt 并且jim是非 root 帐户,是否有任何原因导致g+x来自file.txt另一个用户的访问失败?
-rwxr--r-- jim group other file.txt
jim
g+x
file.txt
唯一可以更改文件权限的人是拥有文件的人(在您的情况下为 jim)和 root 用户。这是为了防止用户做一些恶意的事情,比如将别人文件的权限更改为 r/w 然后删除文件中的所有内容,或类似的事情。