Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
Operating System - Tru64 Unix
Showing results for 
Search instead for 
Did you mean: 

looped symlink

Go to solution
Bengt Nilsson_2
Regular Advisor

looped symlink

My system is a tru64-5.1B-4.

A software I just installed wants the path to a work directory to be /usr/users/ms0//work.
Since I don't have this, I am tempted to make a symlink

ln -s /usr/users /usr/users/ms0

to make it work.

Will this be outright dangerous, apart form being just ugly?

I have a feeling there may be a risk for an infinite loop is some function will scan the directory tree.

Martin Moore

Re: looped symlink

Ugly as it is, it should work. Because /usr/users/ms0 is a symlink pointing back to /usr/users, then /usr/users/ms0//work will point to /usr/users//work, and as long as this exists, it should work fine. There is no recursion involved (provided there is no username ms0; that could cause problems.)

Trying the symlink the other way around could cause some rather odd behavior. :)

I work for HP
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details

Bengt Nilsson_2
Regular Advisor

Re: looped symlink