一人天 发表于 2013-12-5 23:14:04

proftpd可以登陆,无法上传和更改及删除

文件已经 是WWW权限。
下载可以,无法更新。请问再如何操作。

/etc/init.d/proftpd restart
Restarting proftpd daemon: proftpdcat: /usr/local/proftpd/var/proftpd.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l
proftpd not runningAY131113141257853a79Z proftpd: processing configuration directory '/usr/local/proftpd/etc/vhost'
.




/etc/init.d/proftpd stop
Stopping proftpd daemon: proftpdcat: /usr/local/proftpd/var/proftpd.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l
proftpd not running.




[ 本帖最后由 一人天 于 2013-12-5 23:27 编辑 ]

一人天 发表于 2013-12-6 08:37:17

# /etc/init.d/proftpd start
Starting proftpd daemon: proftpdAY131113141257853a79Z proftpd: processing configuration directory '/usr/local/proftpd/etc/vhost'
.
# /etc/init.d/proftpd stop
Stopping proftpd daemon: proftpd.
# /etc/init.d/proftpd start
Starting proftpd daemon: proftpdAY131113141257853a79Z proftpd: processing configuration directory '/usr/local/proftpd/etc/vhost'
.目录也已经是www:www权限

mysql:x:500:500::/home/mysql:/sbin/nologin
www:x:501:501::/home/www:/sbin/nologin
earthome:x:502:502:lnmp proftpd user:/home/wwwroot:/sbin/nologin
~




[ 本帖最后由 一人天 于 2013-12-6 11:52 编辑 ]

licess 发表于 2013-12-6 12:25:04

没错误信息,前面的提示信息都是正常的。

将添加的用户添加到www组

如果感觉麻烦直接sftp,不用搭建直接使用,用winscp或filezilla客户端

一人天 发表于 2013-12-6 12:53:33

回复 3# 的帖子

加入到WWW用户组也是没有权限呢。

一人天 发表于 2013-12-6 23:02:04

回复 3# 的帖子

usermod -G www user
执行上面的命令了,还是没有权限。
怎么才能排除这个困难。
页: [1]
查看完整版本: proftpd可以登陆,无法上传和更改及删除