Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th January 2010, 04:18
dgoradia dgoradia is offline
Junior Member
 
Join Date: Jan 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Pure-ftpd cannot see directories

I followed the tutorial "Virtual Hosting With PureFTPd And MySQL (Incl. Quota And Bandwidth Management) On CentOS 5.3"

and got everything setup, i have a user called adhocrac on my system (with usr:grp ids being 501:501). I set it up on mysql:

User: adhocrac
status: 1
Uid: 501
Gid: 501 /home/adhocrac
UL: 0
DL: 0
comment:
ipaccess: *
QuotaSize: 0
QuotaFiles: 0

now when I connect to it with an ftp client, it connects successfully but does not show the contents on /home/adhorac

To test it further: i changed ChrootEveryone in the pure-ftpd config file to no and then reconnected. This time it showed all the files in the directory.

The problem is that I don't want the user to be able to no higher than /home/adhocrac.

I want him to be able to go to /home/adhocrac/public_html but not /home

What am I doing wrong here?
Reply With Quote
Sponsored Links
  #2  
Old 12th January 2010, 15:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Any errors in your logs? Did you try both active and passive transfers in your FTP client?
What's the output of
Code:
getenforce
?
__________________
Falko
--
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
  #3  
Old 12th January 2010, 23:26
dgoradia dgoradia is offline
Junior Member
 
Join Date: Jan 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Thanks for the reply falko, the result of getenforce was Disabled

But i tried it this morning and it was working. I don't know why it just started but the logs did not show anything about why. It did show however that someone was trying to log into my ftp server from 211.103.110.59, i have no idea who this is but they weren't able to get in.

Thanks for the help and the great tutorial.
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
update failed loge Installation/Configuration 6 1st December 2007 17:53
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! qvindesland Installation/Configuration 22 21st May 2007 16:05
Installation Problem irpr Installation/Configuration 21 13th December 2006 11:55
ISPConfig installation stops harzlmann Installation/Configuration 4 10th May 2006 08:19
Update to 2.2.0 question brianetilley Installation/Configuration 10 4th March 2006 17:02


All times are GMT +2. The time now is 23:43.


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