0

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 boxxxx.bluehost.com 2.6.28-10.40.intel.IGB.BHsmp #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)

1 Answer 1

4

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

ln -s /home5/onalllev/redmine/public /home5/onalllev/public_html/redmine
1
  • 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, 2010 at 12:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .