vsftpd
The following message is a courtesy copy of an article that has been posted to linux.newbies as well.
Hello All!
I am having a problem setting up vsftpd with anonymous access. I keep getting the following error:
500 OOPS: vsftpd: refusing to run with writable anonymous root
I am stumped as to what this means. I have tried all sorts of games with setting permissions, but nothing seems to work.
The man pages do not address this issue and searches on the internet do not reveal anything to resolve the problem. As a newbie user, I sure could use a detailed cure for this. :)
I am running RH 9.0 and the vsftpd root is the standard /var/ftp
Thanks in advance!
Regards,
Robert
--- Msged/UNX 6.1.2
* Origin: RuneKeep: Linux Hub 2000 (1:229/2000)
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 7 lines · At 22:24 20/05/2003 +0000, [email protected] wrote:
Hello All!
I am having a problem setting up vsftpd with anonymous access. I keep getting the following error:
500 OOPS: vsftpd: refusing to run with writable anonymous root
Quoted 8 lines
I am stumped as to what this means. I have tried all sorts of games with setting permissions, but nothing seems to work.
The man pages do not address this issue and searches on the internet do not reveal anything to resolve the problem. As a newbie user, I sure could use a detailed cure for this. :)
I am running RH 9.0 and the vsftpd root is the standard
/var/ftp
This sounds exactly what it says on the tin. The root dir for anonymous users is writeable. I am not familiar with vsftpd but i know it stands for "Very Secure FTP Daemon" so it makes sense that it wouldn't allow anonymous write access.
I found this on the vsftpd website in the FAQ:
Q) Help! I'm getting the error message "refusing to run with writable anonymous root".
A) vsftpd is protecting against dangerous configurations. The cause of this message is usually dodgy ownership of the ftp home directory. The home directory should NOT be owned by the ftp user itself. Neither should it be writable by the ftp user. A way to fix this is:
chown root ~ftp; chmod -w ~ftp
--
Carl
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
There's a linux.newbie newsgroup? You learn something new every day. I'm cc'ing the mailing list rather than the newsgroup, since that is how the question reached me.
Anyway ... you didn't search hard enough on the Internet. The vsftpd home site (the first thing listed in a Google search on "vsftpd") has a FAQ (at URL ftp://vsftpd.beasts.org/users/cevans/untar/vsftpd-1.1.3/FAQ) and this is in it:
Quoted 7 lines
Q) Help! I'm getting the error message "refusing to run with writable anonymous root".
A) vsftpd is protecting against dangerous configurations. The cause of this message is usually dodgy ownership of the ftp home directory. The home directory should NOT be owned by the ftp user itself. Neither should it be writable by the ftp user. A way to fix this is:
chown root ~ftp; chmod -w ~ftp
I don't use vsftpd myself (in fact, I hadn't heard of it prior to this message) ... so if that answer doesn't help you, I can't provide any further assistance if you have trouble making this work, unless you provide very clear details about what you tried and what went wrong.
Quoted 13 lines · At 10:24 PM 5/20/2003 +0000, [email protected] wrote:
The following message is a courtesy copy of an article that has been posted to linux.newbies as well.
Hello All!
I am having a problem setting up vsftpd with anonymous access. I keep getting the following error:
500 OOPS: vsftpd: refusing to run with writable anonymous root
I am stumped as to what this means. I have tried all sorts of games with setting permissions, but nothing seems to work.
Quoted 7 lines
The man pages do not address this issue and searches on the internet do not reveal anything to resolve the problem. As a newbie user, I sure could use a detailed cure for this. :)
I am running RH 9.0 and the vsftpd root is the standard
/var/ftpThanks in advance!
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
The following message is a courtesy copy of an article that has been posted to linux.newbies as well.
Hello Carl!
May 21 13:38 03, Carl wrote to [email protected]:
C> I found this on the vsftpd website in the FAQ:
C> Q) Help! I'm getting the error message "refusing to run with writable C> anonymous root".
C> A) vsftpd is protecting against dangerous configurations. The cause of C> this message is usually dodgy ownership of the ftp home directory. The C> home directory should NOT be owned by the ftp user itself. Neither C> should it be writable by the ftp user. A way to fix this is: chown C> root ~ftp; chmod -w ~ftp
Thanks a million!
Regards,
Robert
--- Msged/UNX 6.1.2
* Origin: RuneKeep: Linux Hub 2000 (1:229/2000)
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs