LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-13-2006, 02:54 AM   #1
shootinstr8
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
How do I give access to an ftp user to the var/www/html dir


I'm running FC5,
I would like to be able to give a ftp user (site developer) access to the "var/www/html" dir on our www box.
I'm already running vsftpd and normal users can access the server in their home dirs fine. When I create the user and make his home dir "var/www/html" vsftp kicks me out. Any ideas on how to get this working?

Thanks Kent
 
Old 10-13-2006, 03:32 AM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Mornin!

Reading over the man page:
http://vsftpd.beasts.org/vsftpd_conf.html

I see:
Quote:
chroot_local_user
If set to YES, local users will be (by default) placed in a chroot() jail in their home directory after login.
Which I assume you have enabled to provide that feature (which you mention). Right above that is:
Quote:
chroot_list_enable
If activated, you may provide a list of local users who are placed in a chroot() jail in their home directory upon login. The meaning is slightly different if chroot_local_user is set to YES. In this case, the list becomes a list of users which are NOT to be placed in a chroot() jail. By default, the file containing this list is /etc/vsftpd.chroot_list, but you may override this with the chroot_list_file setting.
And then you could set your local_root (I believe) to /var/www/html

Cool
 
  


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 do I give a user permission to save files to /var/www/html? rotnay6000 Linux - Newbie 10 07-14-2009 08:45 PM
Creating VSFTPD Full permission User to /var/www/html vibin Linux - General 5 01-03-2006 02:32 AM
apache 403 for dir in /var/www/html/ m3rajk Linux - Networking 7 10-11-2005 01:31 PM
user/group permissions for /var/www/html/ illtbagu Linux - Software 6 11-12-2003 05:29 AM
how to setup ftp user's diretory as /var/www/html lzyking Linux - Software 4 02-25-2003 12:58 PM


All times are GMT -5. The time now is 06:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration