LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help with links.... (https://www.linuxquestions.org/questions/linux-newbie-8/help-with-links-225337/)

angus orion 09-01-2004 01:39 PM

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

Linux24 09-01-2004 01:58 PM

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.


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