LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   anonymous user cannot up/download in vsftpd (https://www.linuxquestions.org/questions/linux-software-2/anonymous-user-cannot-up-download-in-vsftpd-165280/)

Belize 04-02-2004 04:08 AM

anonymous user cannot up/download in vsftpd
 
Hi there
I have been messing with that vsftpd for a couple of days (not that being my top priority though) and whatever I tried anonymous user cannot upload or download. I read man 5 vsftpd, which has all the options for the config file, and I built mine from scratch. Here it is:
Quote:

#:)
#global stuff
write_enable=YES
download_enable=YES
local_enable=YES
local_umask=022

dirlist_enable=YES
dirmessage_enable=NO

xferlog_enable=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES

idle_session_timeout=600
#data_connection_timeout=120

connect_from_port_20=YES

chown_uploads=YES
chown_username=root

ascii_download_enable=NO
ascii_upload_enable=NO

ftpd_banner=Welcome to cubalan.net FTP service.

#deny_email_enable=YES
#banned_email_file=/etc/vsftpd.banned_emails

#chroot_list_enable=YES
#chroot_list_file=/etc/vsftpd.chroot_list

chroot_local_user=YES

#anonymous stuff
anonymous_enable=YES
anon_mkdir_write_enable=YES
anon_other_write_enable=NO
anon_upload_enable=YES
anon_world_readable_only=YES
no_anon_password=YES
anon_root=/var/ftp/pub/

background=NO
check_shell=YES
chmod_enable=YES

pasv_enable=YES
port_enable=YES
session_support=YES
use_localtime=YES
use_sendfile=YES

hide_ids=YES

#nopriv_user=ftpsecure

pam_service_name=vsftpd
userlist_enable=YES
listen=YES
tcp_wrappers=YES
I also tried changing /var/ftp/pub (the directory for anonymous logins) to have permissions so everyone can write on it , but that didn't help neither.
That's it, please help :)
Kaloian

Belize 04-02-2004 07:13 AM

bumping all the way to the top :D

AutOPSY 04-02-2004 08:58 PM

anon_other_write_enable=NO

I would imagine this is why, Linux and applications for Linux are very (some word for that)
so even though mkdir and upload are enabled for anonymous, the simple write enable other=NO could be the culprit.

(TOUCHY / WARY i guess)


All times are GMT -5. The time now is 03:36 PM.