LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-01-2004, 01:39 PM   #1
angus orion
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Rep: Reputation: 0
Question Help with links....


I have Proftpd running and allowing anonymous logins. What I'm trying to do is make a link to an mp3 directory under /home/angus/mp3 so that I don't have to duplicate the many files to my / hd.
I tried "ln -n /home/angus/mp3 /var/ftp/pub/mp3 and was able to make the link but when I logged into localhost and entered the pub dir, the link didn't show up. Can anyone help me out?


--Angus Orion
 
Old 09-01-2004, 01:58 PM   #2
Linux24
Member
 
Registered: Aug 2004
Distribution: Mandrake 10.1
Posts: 204

Rep: Reputation: 30
Re: Help with links....

Quote:
Originally posted by angus orion
I have Proftpd running and allowing anonymous logins. What I'm trying to do is make a link to an mp3 directory under /home/angus/mp3 so that I don't have to duplicate the many files to my / hd.
I tried "ln -n /home/angus/mp3 /var/ftp/pub/mp3 and was able to make the link but when I logged into localhost and entered the pub dir, the link didn't show up. Can anyone help me out?


--Angus Orion
If I understand what you are trying to do correctly... I would think you would not want this to happen, since you would basically be allowing people who logged into your FTP server to escape the FTP area and browse the rest of your file system. It would be a huge security flaw and I assume that a good FTP server would contain restrictrictions to disallow links from operating within the server to the rest of the file system. Otherwise, someone could just upload a link to your public/incoming directory and then attempt to execute it to break in. That would be bad.

I think you have to copy the files.
 
  


Reply



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
Preserving number of links with 'cp'. ( preserve number of links ) Devyn Linux - General 7 09-16-2005 10:07 PM
links (hard links and soft links..) sachitha Programming 1 08-10-2005 12:10 PM
Sym links and hard links akudewan Linux - Newbie 4 02-09-2005 05:08 AM
how to change relitive links to specific links? wolfe2554 Linux - General 4 07-03-2004 12:40 AM
Links Section updated - Please add your Linux links. jeremy Linux - General 2 11-24-2001 11:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:08 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration