Kevin Stallard(deleted)
07/10/2009 2:16 PM
post33569
|
Hi,
I've got FTPD setup on a target to chroot to a directory called /ftp when a user logs in.
Everything works in terms of accessing files, for example when I log into the server using another qnx ftp client, and
try to download a file that is in a subdirectory of /ftp, it works. i.e.:
Say the following is valid...
/ftp/cdrom/some_file.txt
From the ftp client I can use:
get /cdrom/som_file.txt
and it downloads the file.
HOWEVER. If I use the pwd command, I get
"/ftp" Instead of "/"
This confuses the heck out of graphical ftp clients.
How do I get ftpd, when it chroots to /ftp, to return "/" when using the pwd command?
The entry in the passwd file for the user is follows:
zod10HWL:x:100:90:DlmuFTPLogin:/ftp/./:/proc/boot/esh
The entry in the ftpchroot file is as follows:
zod10HWL /ftp/./
What am I missing?
Thanks
Kevin
|
|
|