I have setup ftp server with 4 users a1 a2 a3 a4
and set anonymous=YES in vsftpd.conf file
copied some files in /var/ftp/pub/ directory
gave chmod 777 /var/ftp/pub/
[root@station24 ~]# getsebool -a | grep ftp
allow_ftpd_anon_write --> on
allow_ftpd_full_access --> on
allow_ftpd_use_cifs --> off
allow_ftpd_use_nfs --> off
allow_tftp_anon_write --> off
ftp_home_dir --> on
ftpd_connect_db --> off
ftpd_disable_trans --> off
ftpd_is_daemon --> on
httpd_enable_ftp_server --> off
tftpd_disable_trans --> off
when i login from other machine to this machine(172.16.99.24)
i get logged in
but when i try to put anyfile which is created in local machine in /pub/ directory i am getting permission denied message.
why this happening and what's the solution?
u used chmod 777 <folder>
try command chmod -R 777 <folder>
then try to put files
i tried with chmod -R 777 /var/ftp/pub/ command too.
but anonymous is not able to put files in this pub directory.
tell me plz.
check you FTP configuration file,
and also check all Anonymous settings in the same file
# Disallow anonymous users to upload new files (no = upload is allowed)
Uncomment the line 'anon_upload_enable=YES' in vsftpd.conf, restart the service and try again. May help!!!
there is a fourth number to "777" like "0777" or "7770" for the archive, group and owner bit (sticky1 setgid2 setuid4)
"anonymous" should be member of group perhaps and might be at some linuxOS also have already a number like root=0 nobody=99
(I googled for that a while ago and found some answers but do not know exactly anymore)
hello all I got solution
just ls at prompt
then cd /pub
then it will get any data to be uploaded
|All times are GMT -5. The time now is 12:49 AM.|