shell脚本编程学习笔记(三)权限分配
文件或目录(普通文件) ------chmod scl 用户对某个程序或某个应用脚本-------sudo chmod 不能实现权限细化问题 1.数字权限分配 chmod 755 file r 4 w 2 x 1 2.字母权限分配 chmod u+x file chmod o-w file chmod g+w file chmod g+w,g+x file
文件或目录(普通文件) ------chmod scl 用户对某个程序或某个应用脚本-------sudo chmod 不能实现权限细化问题 1.数字权限分配 chmod 755 file r 4 w 2 x 1 2.字母权限分配 chmod u+x file chmod o-w file chmod g+w file chmod g+w,g+x file