Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I create shortcut from one ftp folder to another using SFTP client such as WinSCP with Putty?

For example, application path is /home/primary/webapps/appication/

We have created new user with default home directory /home/secondary/

Using Bash command:

 setfacl -R -m u:secondary:rwx /home/primary/webapps/appication/

we added full Read-Write permission for secondary user.

To access application folder he suppose to type full path to application folder which is not so convenient for daily usage.

As a solution I would like to create some shortcuts in home directory to this folders as I seen something similar in default cPanel configuration where PUBLIC_HTML folder has some alias such as WWW.

share|improve this question
up vote 2 down vote accepted

You can make a link to the other folder

ln -s /home/primary/webapps/application /home/secondary/application

This will create a link under /home/secondary called "application" which points to /home/primary/webapps/application. Once logged in to his home folder, he simply has to click on the "application" folder and will be directed to the proper location.

share|improve this answer
I'm receiving permission denied message – Nazariy Nov 7 '10 at 20:30
Who's account are you doing it under? What folder are you running the command from? You should be running the command from /home/secondary/ as the new user. Ensure your permissions are correct. Personally I wouldn't dive into ACLs for something this simple, group permissions and a simple chown would suffice. – John T Nov 7 '10 at 20:35
I had to add shell access to user for this operation and delete it after. Can you give me more information about ACL because I'm quite new to bash scripting. – Nazariy Nov 7 '10 at 23:33
I would not recommend ACLs for something like this.. but if you want to learn more: – John T Nov 7 '10 at 23:38

Your Answer


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.