LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-20-2009, 05:15 PM   #1
Anthraxnz
LQ Newbie
 
Registered: Sep 2005
Posts: 21

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


Hi

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?

Thanks
 
Old 04-20-2009, 06:23 PM   #2
headrift
Member
 
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, 06:29 PM   #3
jstephens84
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.
 
  


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


All times are GMT -5. The time now is 03:14 AM.

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