Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi all,
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/
also made
[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
but
when i login from other machine to this machine(172.16.99.24)
like
lftp anonymous@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?
Last edited by meandsushil; 06-03-2010 at 12:30 AM.
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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.