linux

1 chown -R work:work

3:https://blog.csdn.net/uniquewonderq/article/details/50774484


u 代表用户.
g 代表用户组.
o 代表其他.
a 代表所有

这意味着chmod u+x somefile 只授予这个文件的所属者执行的权限

而 chmod +x somefile 和 chmod a+x somefile 是一样的

Just doing +x will apply it to all flags: [u]ser, [g]roup, [o]thers.

4 https://www.jianshu.com/p/0830968139a0

chmod是权限管理命令change the permissions mode of a file的缩写。
u代表所有者。
x代表执行权限。
'+' 表示增加权限。
chmod u+x file.sh 就表示对当前目录下的file.sh文件的所有者增加可执行权限。
原文地址:https://www.cnblogs.com/Running00/p/13674337.html