chmod 777 /images/small 修改目录下所有的文件夹属性: chmod 777 * 要修改文件夹内所有的文件和文件夹及子文件夹属性为可写可读可执行: chmod -R 777 /upload