Je ne trouve opas le dossier partagé avec vsftpd

bonjour,

quand je me connecte à mon serveur ftp (vsftpd) avec filezilla, il me donne un dossier vide

[code]# cat vsftpd.conf
listen=YES
anonymous_enable=YES
local_enable=YES
write_enable=NO
xferlog_file=YES
#ftpd_banner=/etc/ma_banniere
chroot_local_user=YES
chroot_list_enable=YES
local_root=/home/ftp

find /home/ftp

/home/ftp
/home/ftp/thunderbird
/home/ftp/thunderbird/thunderbird-10.0.1-i386.deb
/home/ftp/thunderbird/thunderbird-9.0.1-i386.deb
/home/ftp/thunderbird/thunderbird-10.0.2-i386.deb
/home/ftp/thunderbird/thunderbird-10.0-i386.deb
/home/ftp/thunderbird/thunderbird-11.0.1-i386.deb
/home/ftp/firefox
/home/ftp/firefox/firefox-10.0.1-i386.deb
/home/ftp/firefox/firefox-11.0-i386.deb
/home/ftp/firefox/firefox-10.0-i386.deb
/home/ftp/firefox/firefox-10.0.2-i386.deb
/home/ftp/firefox/firefox-9.0.1-i386.deb
ls -l /home
drwxr-xr-x 4 ftp ftp 4096 7 avril 18:01 ftp[/code]

quelqu’un a une idée?

Comme cité ailleurs, cela doit être un problème de droit.

Vérifie les droits configurés sur le répertoire partagé via la commande suivante :

Et poste nous le retour de la commande.

ça y est ça marche. j’ai ajouté “anon_root=/home/ftp” et créé le dossier “/home/ftp/pub”

# cat vsftpd.conf listen=YES anonymous_enable=YES #local_enable=NO #write_enable=NO ls_recurse_enable=YES #no_anon_password=YES #syslog_enable=YES #anon_umask=022 #xferlog_file=YES #ftpd_banner=/etc/ma_banniere #chroot_local_user=NO #chroot_list_enable=NO #userlist_file=/etc/vsftpd.user_list #ftp_username=ftp anon_root=/home/ftp

# mkdir -p /home/ftp/pub cd /home chown -R ftp.ftp ftp chmod -R 555 ftp
voici mon dossier /home/ftp:

# find /home/ftp /home/ftp /home/ftp/pub /home/ftp/pub/thunderbird /home/ftp/pub/thunderbird/thunderbird-10.0.1-i386.deb /home/ftp/pub/thunderbird/thunderbird-9.0.1-i386.deb /home/ftp/pub/thunderbird/thunderbird-10.0.2-i386.deb /home/ftp/pub/thunderbird/thunderbird-10.0-i386.deb /home/ftp/pub/thunderbird/thunderbird-11.0.1-i386.deb /home/ftp/pub/firefox /home/ftp/pub/firefox/firefox-10.0.1-i386.deb /home/ftp/pub/firefox/firefox-11.0-i386.deb /home/ftp/pub/firefox/firefox-10.0-i386.deb /home/ftp/pub/firefox/firefox-10.0.2-i386.deb /home/ftp/pub/firefox/firefox-9.0.1-i386.deb
et ça marche
je vais essayer de mettre mes fichiers dans “/home/ftp” au lieu de “/home/ftp/pub” et je vous en donnerez des nouvelles

super, ça marche aussi sans le dossier “pub”

il suffisait juste de faire: