📜  linux chmod 权限 - Shell-Bash 代码示例

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

代码示例3
chmod u=rwx,g=rw,o=rx myfile.txt
Now view the result:
ls -l myfile.txt
-rwxrw-r-x 1 user group 9482 Jan 16 16:29 myfile.txt 
//where frist character represent wheather it is directory or file 
//  'd' for directory and '-' file