LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 09-22-2003, 08:51 PM   #1
tonphi
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
TheRealDeal
Member
 
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438

Rep: Reputation: 30
Hi.

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.

>Craig
 
  


Reply


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


All times are GMT -5. The time now is 01:16 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