LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-25-2013, 06:16 PM   #1
BuhRock
LQ Newbie
 
Registered: Mar 2011
Posts: 12

Rep: Reputation: 0
vsftpd Server Problem


I'm running ubuntu.

In my vsftpd.conf file, I enable the following because I don't want users to read outside their home directory...

Code:
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
I configured that list with users I wanted to chroot.

I also have this which is weird.

If I leave this line in, then it give me the econnrefused. If I take it out, I get this error, "500 OOPS: vsftpd: refusing to run with writable root inside chroot()".

Code:
allow_writeable_chroot=YES
When I do that, I get an error message on filezilla when trying to connect:

Code:
Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Does anyone know why it wouldn't allow me to connect just because I enabled that line?

Last edited by BuhRock; 05-25-2013 at 06:53 PM.
 
Old 05-25-2013, 08:47 PM   #2
Z038
Member
 
Registered: Jan 2006
Location: Dallas
Distribution: Slackware
Posts: 910

Rep: Reputation: 174Reputation: 174
What version of vsftp are you running? I believe the allow_writable_chroot option is available at version 3.0.0 and higher. The econnrefused may mean that your vsftpd server isn't running. Check your logs and see if it failed.

If you're running a vsftp version older than 3.0.0, you will need to make the user's chroot root non-writable.

Post #2 in this thread create a public directory for chroot ftp users may be useful to you as well.

Last edited by Z038; 05-25-2013 at 08:52 PM.
 
Old 05-25-2013, 11:36 PM   #3
BuhRock
LQ Newbie
 
Registered: Mar 2011
Posts: 12

Original Poster
Rep: Reputation: 0
I got it to work. I was running version 2.3.5.

I did this though http://blog.thefrontiergroup.com.au/...rs-work-again/

Code:
sudo add-apt-repository ppa:thefrontiergroup/vsftpd
sudo apt-get update
sudo apt-get install vsftpd
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VSFTPD Server Problem smarty_expert Linux - Newbie 4 11-20-2008 11:37 PM
vsftpd server connection problem taiwf Linux - Software 2 06-20-2006 07:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration