LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-01-2014, 04:20 PM   #1
Terrum
LQ Newbie
 
Registered: Nov 2014
Posts: 6

Rep: Reputation: Disabled
vsftpd user permission errors


Hi, I have a Debian 7 VPS and I have currently installed vsftpd on it. I have been working hours on end to try get this working however as a newbie to Linux it's been very hard for me

I made a user account named 'apache' and I managed to get it's directory setup onto the website I am going to host on the VPS - great!

But currently I cannot edit, delete or upload to the FTP. I have tried every chmod method I can think of and sadly I am just stressed to the point where I can't think anymore

If anyone can help that would be greatly appreciated!
 
Old 11-01-2014, 04:22 PM   #2
Terrum
LQ Newbie
 
Registered: Nov 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
I just managed to fix this now by executing: chown -R apache /var/www/

But now I get a "500 OOPS: vsftpd: refusing to run with writable root inside chroot()" error
 
Old 11-01-2014, 04:27 PM   #3
Terrum
LQ Newbie
 
Registered: Nov 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
Incase it helps I am following this tutorial: https://pioneear.wordpress.com/2012/...w-web-folders/

Doing this didn't work:
Quote:
1. sudo apt-get install python-software-properties
2. sudo add-apt-repository ppa:thefrontiergroup/vsftpd
3. sudo apt-get update
4. sudo apt-get install vsftpd
5. vi /etc/vsftpd.conf and add the following
allow_writeable_chroot=YES
6. sudo service vsftpd restart
Adding allow_writeable_chroot=YES to the end of my config stops the service from running and I cannot run the service. Hope someone can help!

Last edited by Terrum; 11-01-2014 at 04:39 PM.
 
Old 11-01-2014, 04:51 PM   #4
Terrum
LQ Newbie
 
Registered: Nov 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
Incase it helps, when I have entered apt-get update after adding the repository, it shows this:

Code:
Err http://ppa.launchpad.net wheezy/main Sources
  404  Not Found
Err http://ppa.launchpad.net wheezy/main i386 Packages
  404  Not Found
Ign http://ppa.launchpad.net wheezy/main Translation-en
W: Failed to fetch http://ppa.launchpad.net/thefrontiergroup/vsftpd/ubuntu/dists/wheezy/main/source/Sources  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/thefrontiergroup/vsftpd/ubuntu/dists/wheezy/main/binary-i386/Packages  404  Not Found
 
Old 11-01-2014, 04:56 PM   #5
Terrum
LQ Newbie
 
Registered: Nov 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
Okay I noticed the PPA is only available for Ubuntu. So if someone could help me fix this for Debian that would be greatly appreciated!
 
Old 11-01-2014, 05:04 PM   #6
Terrum
LQ Newbie
 
Registered: Nov 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
All good now, please delete/lock this thread.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to edit PAM DB of VSFTPD (..add user, delete user, change user password ) jsaravana87 Linux - Server 1 10-02-2012 09:49 AM
Vsftpd Permission abbasabidi Linux - Software 1 12-17-2011 02:08 PM
Vsftpd Upload Permission Supreme Linux - Software 3 03-14-2008 03:11 PM
Creating VSFTPD Full permission User to /var/www/html vibin Linux - General 5 01-03-2006 03:32 AM
Permission Denied with VSFTPD whitetiger0990 Linux - Software 4 01-01-2005 07:30 PM


All times are GMT -5. The time now is 02:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration