Bonjour,
j'ai le même problème que décrit plus haut.
j'arrive bien a me connecter avec un virtual user, j'arrive à uploadé, mais je n'arrive pas à downloader.
J'ai fait l'install listé sous ce lien
https://doc.fedora-fr.org/wiki/Vsftpd_:_Installation_et_configuration
Conf du virtual user titi:
[root@SBELUGA var]# cat /etc/vsftpd/vsftpd_user_conf/titi
local_root=/data/vftp/titi
write_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=YES
anon_other_write_enable=YES
droits du repertoire local root de titi :
[root@SBELUGA var]# ll /data/vftp/
total 0
dr-xr-xr-x 2 ftp ftp 47 9 févr. 12:39 titi
Test FTP avec création d'un répertoire --> erreur 550
[root@SBELUGA vftp]# ftp localhost
220 Bienvenue sur mon ftp perso
Name (localhost:root): titi
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> mkdir test
550 Create directory operation failed.
ftp> ls
227 Entering Passive Mode (127,0,0,1,202,48).
150 Here comes the directory listing.
-rw-r--r-- 1 0 0 17 Feb 09 10:49 vftptiti.txt
-rw-r--r-- 1 0 0 17 Feb 09 11:39 vftptiti2.txt
226 Directory send OK.
Note :
Avant j'ai un pb sur le répertoire /data/vftp/titi
500 OOPS: vsftpd: refusing to run with writable root inside chroot()
donc j'avais fait chmod u-w /data/vftp/titi
J'ai lu pas mal de chose sur ce problème, mais je n'ai pas trouvé de solution.
Est ce quelqu'un a une idée ?
Merci