0

For example, I create a link ln -s /mytarget /mylink (where mytarget is a directory). Now I would like to create a link to /mylink, i.e., ln -s /mylink /mylinkother. The first link mylink works fine, but the second link mylinkother does not work.

Related:

  1. Does creating a symbolic link to another symbolic link have any side-effects?
  2. How to create a link to a directory
Evandro Coan
  • 8,560
  • 11
  • 83
  • 144

1 Answers1

0

It actually works as I described on my first post. I was just pointing the symbolic link target, i.e., ln -s /linktarget linknameother to a non existing location. Once the /linktarget location was correct, my second link worked fine.

Evandro Coan
  • 8,560
  • 11
  • 83
  • 144
  • Good job solving the issue yourself. However, since the question was the result of "operator error" you may want to go ahead and delete or close it. I won't downvote, but other may not be so restrained. (not to mention the question relates to general software use and not a programming question per-se...) – David C. Rankin Nov 06 '21 at 03:25