Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th September 2008, 08:04
mtnsnyder mtnsnyder is offline
Junior Member
 
Join Date: Sep 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Files uploaded by ftp user vanish?

When a ftp user logs in, goes to his /web/ folder and creates a directory like /web/test/ for example, it appears to work just fine, but only via ftp.

If I (as root) examine /var/www/web1/web/ the created /test/ folder is nowhere to be found?

Logging in as a ftp user once again, I see the folder still there. The same applies to files uploaded into this folder. If I place an index.html file in there (via ftp) and try to go to that url in the browser, I get 404 error.

Why is this happening? Where do the files uploaded via ftp go, and why aren't index.html files working outside of the users web root?
Reply With Quote
Sponsored Links
  #2  
Old 6th September 2008, 11:48
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,177
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

This behaviour is normal, a webserver or the ftp user can not acess file sor folders created by root of course.

After you create a file as root, you will hae to change th owner (user and group) of the file:

chown ftpuser:web1 test

Also make sure, that you enabled the administratorr checkbox of the user that you use to upload the ftp files.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 12th September 2008, 09:51
mtnsnyder mtnsnyder is offline
Junior Member
 
Join Date: Sep 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Thanks
Reply With Quote
Reply

Bookmarks

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
Hacking attack (ubuntu 7.04 server + local root exploit on kernel) smoko General 4 15th September 2013 05:05
vsftpd permissions malinens Installation/Configuration 17 25th February 2008 22:57
Cannot connect to anonymus ftp n1kol1s Installation/Configuration 39 15th February 2007 18:36
Standard FTP User? Ben Installation/Configuration 3 13th July 2006 12:40
more then one ftp user pontifex Installation/Configuration 3 16th August 2005 11:36


All times are GMT +2. The time now is 22:48.


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