search

Home  >  Q&A  >  body text

linux - centos 文件权限问题

vps安装的centos 6系统,配置的vsftp服务器;
用wget下载到ftp用户目录的文件,ftp用户无法修改;
用ls -l命令发现文件所有者为root


chown -R www.www /home/www/
chmod -R 755 /home/www/
也没有办法让ftp用户修改文件

请问大家怎么搞

黄舟黄舟2857 days ago670

reply all(1)I'll reply

  • 阿神

    阿神2017-04-17 13:22:20

    You gave the file ownership to www:www, then for the ftp user you need to put it in your www group

    It is recommended to take a look at http://vbird.dic.ksu.edu.tw/linux_basic/0210filepermission.php

    reply
    0
  • Cancelreply