vizsion

Member
Aug 1, 2006
5
0
151
Hi all,

Ok, I've got a wierd FTP problem. Whenever I create a new account and connect to it via WS_FTP Pro, it connects fine. But, it doesn't display the user's public_html, etc. folders. Instead, it displays all of the folders in the server's file system (/bin, /boot, /dev, /etc, /home, /lib....etc.) Anyone have any ideas on what's going on here?
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,465
30
473
Go on, have a guess
Which ftp daemon is the server using? If it's proftpd, then IIRC, that will show the full disk path and so if you set the default login dir to / it'll go to the top of the root tree. IF that's the case, then remove that from your FTP client.
 

vizsion

Member
Aug 1, 2006
5
0
151
It's using pure-ftpd.

Where would I set the login directory? When i add a new acount, there are no fields to specify the login directory.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,465
30
473
Go on, have a guess
That's odd. pure-ftpd should be chroot and not allow you to see /, if you're not the server administrator you should check with your web hosting provider. If you are, then I'd suggest checking /etc/pure-ftpd.conf and see whether this is set:

ChrootEveryone yes
 

vizsion

Member
Aug 1, 2006
5
0
151
I checked the conf file, and it was set to YES. So, I changed it, restarted the FTP daemon, and tried logging in again. Same thing. I rebooted the server, and still getting the same thing. I'm lost here.