Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 09-22-2003, 08:51 PM   #1
LQ Newbie
Registered: Sep 2003
Distribution: Red Hat
Posts: 1

Rep: Reputation: 0
Soft Links

I am trying to create an FTP account for a user that will have restricted privileges. When logging in, they will be unable to "cd ..". They will only see "/" even though they are in their home directory. I would like to then create soft links to files elsewhere in the filesystem for them to download (read only). How do I do this? Can I do the same with Telnet?
Old 09-22-2003, 09:20 PM   #2
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438

Rep: Reputation: 30

You can create soft links, or symbolic links like...

ln -s /any/path/userfile.doc /home/tonphi/userfile.doc

That will create a symbolic link of userfile.doc to the file in your home directory.

I use pure-ftpd and this works alright for me.



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
links (hard links and soft links..) sachitha Programming 1 08-10-2005 12:10 PM
Soft Links varunbihani Linux - Newbie 3 06-04-2005 11:42 PM
Hard/Soft Links nodger Linux - General 1 05-15-2004 10:36 AM
weird soft links guanyu Linux - General 1 03-16-2002 11:55 AM
Soft Links Resqtech Linux - Newbie 4 08-26-2001 10:00 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 01:20 AM.

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