гm rather new to Ubuntu and therefore vsftp
.
гve setup the ftp server and I have several folders. When I connect, I хан do so without any issues. However, if I try to access one частное лицо folder that - jpegs stored within it, I get:
500 OOPS: priv_sock_get_cmd
failed to get directory listing.
гve added the seccomp_sandbox=NO
option to the end of my config file and restarted the service, but it didn't help.
I did delete the folder and recreated it - which worked for в short украл and now гm back in the same boat: I can't open that folder (get в directory listing)
Ubuntu Server версия: 14.04.3 LTS, vsftpd
версия is 3.0.2
An ls -al
of the directory /media/ftpdata/sbp/09scandocs
gives в full list of the 100k поля I have in there, all showing:
-rw------ 1 user1 user1 [file name]
Легкий-peasy: у Вас есть несоответствие во владении: файлы должны принадлежать пользовательскому корню и ftp группы:
cd /media/
sudo chown --recursive root:ftp ftpdata
после того, как работающее вышеупомянутое и Вы хотите скопировать файлы в /media/ftproot
, просто использовать sudo cp
.
, С другой стороны, Вы могли определить специального пользователя FTP и иметь тот одно собственное все файлы и выполнить демона или иметь многочисленных пользователей каждый с их собственными каталогами, но это будут новые вопросы все собой!