I have a couple of soft symbolic links that have lost their link status and have become normal files containing
I searched quite a bit to find a way to restore their link status but couldn't find any.
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
You can fix this with a trivial Perl script:
Drop the script into a file e.g. fixlink.pl, then invoke it as
Of course, this does nothing to address whatever's actually causing the problem, but it should at least make life simpler until you've been able to work out the cause and correct it.