Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-20-2009, 06:15 PM   #1
LQ Newbie
Registered: Sep 2005
Posts: 21

Rep: Reputation: 15
vsftpd and /var/www permissions


I have apache running on my ubuntu box and i want to upload pages into the /var/www directory.

Currently i have VSFTPD running and its working, except i cant upload from my standard user to the www directory.

i've tried changing the owner of the www directory but it still wont let me write to it.

Can anyone help me please?

Old 04-20-2009, 07:23 PM   #2
Registered: Sep 2005
Distribution: Gentoo, Sabayon, Puppy, Arch
Posts: 165

Rep: Reputation: 29
I would guess that it's a permission issue.

What you probably want to do is set /var/www to be a new user's home directory. That way you can chroot said new user to their home.
Old 04-20-2009, 07:29 PM   #3
Senior Member
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
As mentioned the problem is most likly a user permissions problem. Best way to solve that would be to give your user either ownership of the folder or add it to the group that owns the www directory. I would add the user to the group but that is just me.


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
VSFTPd for uploading to /var/www/html timgerr Linux - Server 1 10-20-2008 04:08 PM
how to set permissions on /var/www? AVD_ZM Linux - Newbie 1 03-04-2007 12:27 PM
Creating VSFTPD Full permission User to /var/www/html vibin Linux - General 5 01-03-2006 03:32 AM
VSFTPD /var/www mmethe Linux - Software 2 05-10-2005 05:37 AM
user/group permissions for /var/www/html/ illtbagu Linux - Software 6 11-12-2003 06:29 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:37 AM.

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