1.查看权限
# ls -l dirPath
2.修改权限,root权限执行(-R 子目录的权限都会改变)
# chmod -R 777 dirPath
Centos 文件权限修改
原文:https://www.cnblogs.com/funbin/p/11154208.html