centos6 授权文件夹所有用户可用

chown -R 777 /home/img/

chmod -R 777 /home/data/img/
原文地址:https://www.cnblogs.com/jiathis/p/12162032.html