Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

vsftpd: refusing to run with writable anonymous root

 
   Soft32 Home -> Linux2 Arch -> Setup RSS
Next:  how do I update debian?  
Author Message
Steve Quezadas

External


Since: Jul 10, 2003
Posts: 4



(Msg. 1) Posted: Fri Mar 19, 2004 4:59 am
Post subject: vsftpd: refusing to run with writable anonymous root
Archived from groups: comp>os>linux>setup (more info?)

I have an annoying problem with vsftpd. Everytime I try to log in
anonymously to vsftpd, I get the following error:

500 OOPS: vsftpd: refusing to run with writable anonymous root

I checked the FAQ and it says that the user that runs as the daemon (in this
case user "ftp") cannot have write access to the anonymous root directory
(this is an anonymous only ftp server). Ummm, but if this is the case, how
is it possible that ANYONE can upload files then? Doesn't the daemon user
need would have to have "write access" on the directory for a user to upload
anonymously? So why is teh computer saying: "". this doesn't make sense!

I set anonymous uploading made possible by the following directives:
anonymous_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=YES
anon_root=/usr/VOL1/ftp


Anyways, I have tried checking google, and deja and even went waded through
some of the C code to see what was going on, but I am at a loss. Yes, I have
checked the FAQ, and this is the only thing it says:
> 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

But it contradicts the whole concept of uploading!

Anyone can help me out on this one?

- Steve

PS Here is my configuration file. I am using vsftpd 1.1.3

500 OOPS: vsftpd: refusing to run with writable anonymous root

anonymous_enable=YES
local_enable=NO
write_enable=YES
local_umask=117
anon_upload_enable=YES
anon_mkdir_write_enable=YES
dirmessage_enable=NO
xferlog_enable=YES
connect_from_port_20=YES
chown_uploads=YES
chown_username=ftpsecure
ascii_upload_enable=YES
ascii_download_enable=YES
ftpd_banner=Welcome to Model Printing ftp service
ls_recurse_enable=YES
anon_root=/usr/VOL1/ftp
log_ftp_protocol=YES
xferlog_enable=YES
secure_chroot_dir=/usr/local/share/vsftpd/empty








----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Back to top
Login to vote
Wong Kum Weng

External


Since: Mar 24, 2004
Posts: 2



(Msg. 2) Posted: Wed Mar 24, 2004 2:21 pm
Post subject: Re: vsftpd: refusing to run with writable anonymous root [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Steve Quezadas wrote:
| I have an annoying problem with vsftpd. Everytime I try to log in
| anonymously to vsftpd, I get the following error:
|
| 500 OOPS: vsftpd: refusing to run with writable anonymous root
|
| I checked the FAQ and it says that the user that runs as the daemon
(in this
| case user "ftp") cannot have write access to the anonymous root directory
| (this is an anonymous only ftp server). Ummm, but if this is the case, how
| is it possible that ANYONE can upload files then? Doesn't the daemon user
| need would have to have "write access" on the directory for a user to
upload
| anonymously? So why is teh computer saying: "". this doesn't make sense!
|
| I set anonymous uploading made possible by the following directives:
| anonymous_enable=YES
| anon_upload_enable=YES
| anon_mkdir_write_enable=YES
| anon_root=/usr/VOL1/ftp
|
|
| Anyways, I have tried checking google, and deja and even went waded
through
| some of the C code to see what was going on, but I am at a loss. Yes,
I have
| checked the FAQ, and this is the only thing it says:
|
|>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
|
|
| But it contradicts the whole concept of uploading!
|
| Anyone can help me out on this one?
|
| - Steve
|
| PS Here is my configuration file. I am using vsftpd 1.1.3
|
| 500 OOPS: vsftpd: refusing to run with writable anonymous root
|
| anonymous_enable=YES
| local_enable=NO
| write_enable=YES
| local_umask=117
| anon_upload_enable=YES
| anon_mkdir_write_enable=YES
| dirmessage_enable=NO
| xferlog_enable=YES
| connect_from_port_20=YES
| chown_uploads=YES
| chown_username=ftpsecure
| ascii_upload_enable=YES
| ascii_download_enable=YES
| ftpd_banner=Welcome to Model Printing ftp service
| ls_recurse_enable=YES
| anon_root=/usr/VOL1/ftp
| log_ftp_protocol=YES
| xferlog_enable=YES
| secure_chroot_dir=/usr/local/share/vsftpd/empty
|
|

Hi, A wild guess from me, (using vsftpd also. Razz )

who's the owner of dir '/usr/VOL1/ftp' ? This should be set to user
'ftp'. Good luck!

- --

Best regards,
Wong Kum Weng

+----------------------------------------------------------+
| If it happens once, it's a bug. |
| If it happens twice, it's a feature. |
| If it happens more than twice, it's a design philosophy. |
+----------------------------------------------------------+

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFAYX1H1bXyj+2X4JERApFLAJ9bADBHLKxbM2+1/MKkLOE1QB4z+QCcCqPI
dDez9QPYnYK8NclBrebUGnA=
=bvNa
-----END PGP SIGNATURE-----
Back to top
Login to vote
Wong Kum Weng

External


Since: Mar 24, 2004
Posts: 2



(Msg. 3) Posted: Wed Mar 24, 2004 6:29 pm
Post subject: Re: vsftpd: refusing to run with writable anonymous root [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Steve Quezadas wrote:
| I have an annoying problem with vsftpd. Everytime I try to log in
| anonymously to vsftpd, I get the following error:
|
| 500 OOPS: vsftpd: refusing to run with writable anonymous root
|
| I checked the FAQ and it says that the user that runs as the daemon
(in this
| case user "ftp") cannot have write access to the anonymous root directory
| (this is an anonymous only ftp server). Ummm, but if this is the case, how
| is it possible that ANYONE can upload files then? Doesn't the daemon user
| need would have to have "write access" on the directory for a user to
upload
| anonymously? So why is teh computer saying: "". this doesn't make sense!
|
| I set anonymous uploading made possible by the following directives:
| anonymous_enable=YES
| anon_upload_enable=YES
| anon_mkdir_write_enable=YES
| anon_root=/usr/VOL1/ftp
|
|
| Anyways, I have tried checking google, and deja and even went waded
through
| some of the C code to see what was going on, but I am at a loss. Yes,
I have
| checked the FAQ, and this is the only thing it says:
|
|>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
|
|
| But it contradicts the whole concept of uploading!
|
| Anyone can help me out on this one?
|
| - Steve
|
| PS Here is my configuration file. I am using vsftpd 1.1.3
|
| 500 OOPS: vsftpd: refusing to run with writable anonymous root
|
| anonymous_enable=YES
| local_enable=NO
| write_enable=YES
| local_umask=117
| anon_upload_enable=YES
| anon_mkdir_write_enable=YES
| dirmessage_enable=NO
| xferlog_enable=YES
| connect_from_port_20=YES
| chown_uploads=YES
| chown_username=ftpsecure
| ascii_upload_enable=YES
| ascii_download_enable=YES
| ftpd_banner=Welcome to Model Printing ftp service
| ls_recurse_enable=YES
| anon_root=/usr/VOL1/ftp
| log_ftp_protocol=YES
| xferlog_enable=YES
| secure_chroot_dir=/usr/local/share/vsftpd/empty
|
|

Hi, A wild guess from me, (using vsftpd also. )

who's the owner of dir '/usr/VOL1/ftp' ? This should be set to user
'ftp'. Good luck!

- -- Best regards, Wong Kum Weng
+----------------------------------------------------------+ | If it
happens once, it's a bug. | | If it happens twice, it's a feature. | |
If it happens more than twice, it's a design philosophy. |
+----------------------------------------------------------+

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFAYbdt1bXyj+2X4JERAtQqAJ9rQh8lisirhnbYZzfL58O4MZ++OgCeO8t7
3i5TzbjBrhlCrCVGLdboJ2s=
=tmce
-----END PGP SIGNATURE-----
Back to top
Login to vote
Display posts from previous:   
Related Topics:
VSFTPD and no-view incoming without anonymous - Hey, I've seen FTP sites where once you log in you can upload files, but can't view or download or delete files. But, I...

Pioneer DVD-RW DVR107D won't play back re-writable DVDs un.. - Hi, I can burn data DVDs with the Pioneer drive under Linux and Windows XP. I can also play DVD movies under Linux and...

anonymous ftp via web page fails.... - scenario : local network behind firewall. www server on one one system (redhat 9), ftp server (wu-ftpd 2.6.2-8) on..

CUPS on localhost:631 - root/root pw doesn't work - I tried setting up CUPS tonight, and after going to localhost:631, I chose Do Administration.. I then got the..

Wu-ftpd Anonymous access failed 530 login failed - Hi, I am a newbie and I have Wu-ftpd 2.6.2 installed on Linux slackware 8.1 I want to set up anonymous ftp access when...

anonymous FTP and /var/ftp/bin - I'm trying to get 'ls' to work via anonymous FTP with the WU-FTP server. From what I've read off of various sources,..
       Soft32 Home -> Linux2 Arch -> Setup All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
 Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]