ls -al 输出的文件详细信息:
chmod 变更mode bits:
chmod u+x a.txt -> 最左侧的三个rwx,user 加入x运行权限。
chmod g+w b.txt -> 最中间的三个rwx,group 加入w写权限。
chmod o+rw c.txt -> 最右侧的三个rwx,other 加入rw读写权限。
chmod a+x d.txt -> 所有user / group 加入运行权限。
chmod -R 777 -> 所有文件给予全部权限。