chown -R ftpadmin /var/www
把www目录下所有所有文件的权限交给ftpadmin用户.
centos修改账户ftp上传权限
原文:http://www.cnblogs.com/seven4027/p/3512662.html