Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-20-2007, 07:58 AM   #1
LQ Newbie
Registered: May 2006
Posts: 2

Rep: Reputation: 0
vsftpd symbolic links


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

I dont want my users to see the full path.

Please Help.
Old 06-20-2007, 08:04 AM   #2
Registered: Jun 2007
Distribution: Debian, SLES, Ubuntu
Posts: 308

Rep: Reputation: 50
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.



symlinks, vsftp

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cp and symbolic links? sausagejohnson Linux - General 3 07-19-2005 01:25 AM
Symbolic Links with VSFTPD corpus_delicti Linux - Networking 9 11-16-2003 11:53 AM
Symbolic Links petercool Linux - General 2 08-20-2003 11:15 AM
Symbolic links bkmesenbrink Linux - Newbie 2 11-13-2002 11:54 AM
Symbolic links pdstatha Programming 1 04-08-2002 09:50 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration