LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   vsftpd symbolic links (https://www.linuxquestions.org/questions/linux-server-73/vsftpd-symbolic-links-563195/)

imzeeshan 06-20-2007 07:58 AM

vsftpd symbolic links
 
Hi.

I am using CentOS 4.1 on one of my servers, recently I installed vsftpd on my server.
I have a symbolic link like /www that points to /srv/www/htdocs on my server.

When in shell prompt i type cd /www
and type pwd it shows me /www

But when I connect thru ftp and cd to /www and type pwd it shows me
/srv/www/htdocs

I dont want my users to see the full path.

Please Help.

grim76 06-20-2007 08:04 AM

Try this:

Create an acutal directory for www and then.

mount --bind /srv/www/htdocs www

That should mount that directory into www and should not show the full path.

Grim


All times are GMT -5. The time now is 06:31 AM.