Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

this question is coming from my other question and I need help to make this work. I was trying out for some time and couldn't make it work.

I have a directory inside redmine instalation /home5/onalllev/redmine/public/ and I need the entire content of this directory to be linked to /home5/onalllev/public_html/redmine/ so I can access the redmine application via web browser.

I thought that ln -s /home5/onalllev/redmine/public /home5/onalllev/public_html/redmine/ will do the job but it creates public directory inside /home5/onalllev/public_html/redmine/. I need all the files from /home5/onalllev/redmine/public/ to be visible when I do cd /home5/onalllev/public_html/redmine/

  • If I am inside the onalllev/public_html/redmine/ and do the ln and the /home5/onalllev/public_html/redmine/ doesn't exist I get an error: ln: target /home5/onalllev/public_html/redmine/ is not a directory: No such file or directory
  • If the directory exists I get a directory called public inside redmine directory

Server configuration

  • Linux #1 SMP Thu May 20 13:14:49 MDT 2010 x86_64 x86_64 x86_64 GNU/Linux

  • man ln says that ln is ln 5.97 (I hope it's the ln version)

share|improve this question
up vote 3 down vote accepted

: ) remove your /home5/onalllev/public_html/redmine/ dir and

ln -s /home5/onalllev/redmine/public /home5/onalllev/public_html/redmine
share|improve this answer
it seems to me that the trick was that I had to be inside /home5/onalllev/public_html/ and then run ln command – Radek Aug 2 '10 at 12:45

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.