cd/到根目录
1,例如FTP服务器根目录是aliRoot : cd /aliRoot
2.指定一个文件夹修改权限;命令:chmod -R 777 goodlist
现在/aliRoot/goodlist 文件夹下就可以上传、下载、写入、创建文件的权限
更改用户相应的权限设置:
usermod -s /sbin/nologin test //限定用户test不能telnet,只能ftp
usermod -s /sbin/bash test //用户test恢复正常
usermod -d /test test //更改用户test的主目录为/test