Tag: vsftpd
近日有一台主机的其中一位使用者反应, 用 FileZilla 登入 ftp 想删除一个目录, 却回传以下错误: 550 Remove directory operation failed 查看了一下, 这个目录的 owner 是该名使用者没错, 用 “ls” 看目录是空白的, 然后用 “ls -a” 再看一次, 发现有一个 “.htaccess” 存在, 一般上以一点 “.” 开头的档案被视为隐藏档, …
Vsftpd 是 Redhat / Centos 默认的 ftp server,安装起来也很简单方便: 1. 安装 vsftpd 2. 设定 vsftpd Vsftpd 的设定档是 /etc/vsftpd/vsftpd.conf,建议更改以下设定: 关闭默认使用的 xferlog: xferlog_std_format=NO 改用完整的 vsftpd log format,默认会纪录档在 /var/log/vsftpd.log,加入以下一行: log_ftp_protocol=YES 设定用户登入后只锁定在用户目录: chroot_local_user=YES 3. …
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it. Ok