LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

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

Rep: Reputation: 0
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.
 
Old 06-20-2007, 08:04 AM   #2
grim76
Member
 
Registered: Jun 2007
Distribution: Debian, SLES, Ubuntu
Posts: 268

Rep: Reputation: 45
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
 
  


Reply

Tags
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


All times are GMT -5. The time now is 04:49 AM.

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