FTP无法在FreeNAS上运行


0

我正在尝试设置一些客户端用户帐户,以便对我们的FreeNAS服务器进行FTP访问。

SFTP有效,但FTP没有。例如,我创建了一个client带有主文件夹的用户/mnt/raid-5x3/alpha/ftp/client1

但是当client1尝试登录时,服务器返回530 login incorrect并显示日志

Apr 19 20:53:51 whNAS proftpd[39911]: 192.168.1.99 ___ - notice: unable to use '~/' [resolved to '/mnt/raid-5x3/alpha/ftp/client1/']: Permission denied 
Apr 19 20:53:51 whNAS proftpd[39911]: 192.168.1.99 ___ - chroot to '~/' failed for user 'client1': Operation not permitted 
Apr 19 20:53:51 whNAS proftpd[39911]: 192.168.1.99 ___ - error: unable to set default root directory 

我检查了权限:

root@whNAS /mnt/raid-5x3/alpha/ftp > ls -al 
total 107 
drwxrwxrwx 5  root    whstaff    6 Apr 19 20:06 ./ 
drwxrwx--- 18 root    whstaff   22 Apr 18 18:44 ../ 
drwxrwx--- 2  drew    whstaff    4 Dec 12 2012  .AppleDouble/ 
-rw-rw---- 1  jaclyn  whstaff 6148 Apr 18 15:53 .DS_Store 
drwxrwxrwx 2  client1 whclients 10 Apr 19 20:06 client1/ 
drwxr-xr-x 2  guest   whclients 10 Dec 11 2012  guest/

Answers:


0

/mnt/raid-5x3/alpha/是不可执行的用于用户client1whclients,从而其不能进入的路径。请检查路径的其余部分,从/。应该更好地为所有人执行。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.