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:
Gid: 501 /home/adhocrac
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?
Any errors in your logs? Did you try both active and passive transfers in your FTP client?
What's the output of
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 184.108.40.206, i have no idea who this is but they weren't able to get in.
Thanks for the help and the great tutorial.
|All times are GMT +2. The time now is 11:16.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.