Old 15th December 2008, 23:12
White White is offline
Join Date: Apr 2008
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
Default proftpd directory limitations

Hello Falko long time no speak, i have finally managed to fix my ftp issues and can now ftp my server with filezilla using your how to

Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Debian Etch

but as it says on the last page of the how to

homedir: The home directory of the virtual Proftpd user (e.g. /home/www.example.com). If it does not exist, it will be created when the new user logs in the first time via FTP. The virtual user will be jailed into this home directory, i.e., he cannot access other directories outside his home directory.

im the virtual user on my own server and my files i want to access are in /var/www/htdocs/mysite.com

how do i unjail myself so i can access the files in the above folder? i have tried changing the location in the mysql database but that did not seem to work.
Reply With Quote
Sponsored Links
Old 16th December 2008, 00:04
marpada marpada is offline
Senior Member
Join Date: Sep 2008
Posts: 139
Thanks: 2
Thanked 14 Times in 14 Posts

Create a symlink from /var/www/htdocs/mysite.com to /home/www.example.com/www

Last edited by marpada; 13th May 2011 at 02:58.
Reply With Quote
Old 16th December 2008, 22:15
White White is offline
Join Date: Apr 2008
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts

thanks, i have used the proftpd to create the new folder in home and copied the contents of mysite.com to it and then created the link as marpada suggested so that the site works ok,

however when i ftp in there must be a permissions error as the folder is shown with the tag "this directory is empty" but the file is not ?

the only way to correct this was to change permission of the folder owner to root and group root

however this will only allow me to view the contents of the directory but will not allow me to up/download from it using filezilla

Last edited by White; 16th December 2008 at 22:26.
Reply With Quote
Old 17th December 2008, 17:53
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts

What's the output of
ls -la /home/www.example.com
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Old 17th December 2008, 23:14
White White is offline
Join Date: Apr 2008
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts

server1:~# ls -la /home/www.mysite.co.uk
total 1020
drwxr-xr-x 36 root root  4096 2008-12-17 19:57 .
drwxr-xr-x  8 root root  4096 2008-12-17 19:46 ..
-rw-r--r--  1 root root  2172 2007-11-17 00:58 addblog.php
-rw-r--r--  1 root root   754 2007-11-17 02:00 addpoll.php
i had mixed permissions but now all are set to root root then i can upload and download at will, but if they are set to the ftp user and group i set in mysql as per the tutorial then i cannot ?????

regardless its working now which means i can ftp to my garage and back so im happy )
Reply With Quote


Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig install issues... flyingaggie Installation/Configuration 2 18th July 2008 11:46
add web site serr57 Installation/Configuration 18 13th April 2008 12:40
update failed loge Installation/Configuration 6 1st December 2007 18:53
directories in /home/admispconfig/ispconfig renamed? Spudchat General 10 12th April 2007 20:37
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 18:17

All times are GMT +2. The time now is 19:05.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.