📌  相关文章
📜  linux 文件完全权限 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:44.604000             🧑  作者: Mango

代码示例1
To change directory permissions in Linux, use the following:

chmod +rwx filename to add permissions.
chmod -rwx directoryname to remove permissions.
chmod +x filename to allow executable permissions.
chmod -wx filename to take out write and executable permissions.
Note that “r” is for read, “w” is for write, and “x” is for execute. 

This only changes the permissions for the owner of the file.