LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-16-2003, 01:57 PM   #1
R4z0r
Member
 
Registered: Jan 2002
Distribution: CentOS 3.1
Posts: 119

Rep: Reputation: 15
vsftpd chroot and Apache


Hi All, I am trying to setup a webserver using Apache (Virtual Hosts) and allow FTP access (vsftpd) for users to upload there sites.

Apache VirtualHosts is working fine but I have a problem. Using vsftpd I've chrooted everyone into thier home directories, now if I point the DocumentRoot at a folder inside a users home directory I get the "Forbidden" error when trying to access the site.

Obviously this is because of the privlages of the home directory. Rather than messing about with these permissions I have decided to setup a dedicated partition for users sites, this all works fine. Unfortunetley I can't see where in vsftpd configuration I can chroot to a directory different to $HOME. Any ideas how this can be achieved?
 
Old 09-19-2003, 01:01 PM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Well I suggest you first take a look at the base setup: vsftpd setup with virtual users. Afterwards you should check the permissions on the folders ...
 
  


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 + chroot problem bzolnowski Linux - Networking 10 07-23-2011 02:59 PM
vsftpd.conf/chroot/vsftpd.chroot_list issue Jerman Linux - Security 2 06-01-2007 07:24 PM
vsftpd and chroot bstempi Linux - Security 10 11-08-2005 02:56 PM
vsftpd and chroot gbj Linux - Networking 3 03-08-2005 02:47 AM
chroot problems and vsftpd noisybastard Linux - Networking 0 01-22-2004 03:28 PM


All times are GMT -5. The time now is 11:34 PM.

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