LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   vsftpd user permission errors (https://www.linuxquestions.org/questions/linux-newbie-8/vsftpd-user-permission-errors-4175524010/)

Terrum 11-01-2014 03:20 PM

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 :o

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 :D

If anyone can help that would be greatly appreciated!

Terrum 11-01-2014 03:22 PM

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

Terrum 11-01-2014 03:27 PM

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!

Terrum 11-01-2014 03:51 PM

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


Terrum 11-01-2014 03:56 PM

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!

Terrum 11-01-2014 04:04 PM

All good now, please delete/lock this thread.


All times are GMT -5. The time now is 01:25 AM.