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