Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I created some links to folders in my home dir so i don't have to go down the long path all the time, i used 'ln -s' for this.

I can use them when i log in via ssh but when use ftp it just shows the link as a file and not like a shortcut as intended.

I tried to use just 'ln' but that doesn't seem to work with folders, and using the -d is not permitted.

Is there a way to this so i can also it in an ftp program?

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

For ssh and ftp there are different security concepts. SSH uses the permissions of the user logged in. Thus via SSH a remote user can access all files the user can access locally on the machine.

Via FTP however, the access is restricted by folder. Thus you cannot / should not leave the directory through a link, else one could create a link to a file "whereever" on your computer via ftp and access it.

If you need file transfer I encourage you to use scp instead of ftp to copy files. Its fairly easy to use and more secure! E.g. you can use filezilla ftp client also with sftp (means ssh / scp)

share|improve this answer
    
just what i needed, thanks. –  dazz Dec 14 '11 at 9:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.