Help with symlink

EdiD

I accidentally changed permission to 000 on symlink:

/lib64/ld-linux-x86-64.so.2    

In effect ubuntu 15.10 can't execute any bash command (binary). In this situation chroot from live cd is not working. System is not launching (kernel panic). Rescue mode also is not launching. How to (restore permissions of this symlink and) make system bootable?

EdiD

I figured it out. I mislead myself because symlink:

/lib64/ld-linux-x86-64.so.2 

shows lrwxrwxrwx permissions. It directs to this shared object :

/lib/x86_64-linux-gnu/ld-2.21.so*

Which (permissions were changed to 000) is dynamic linker/loader. It finds and load the shared libraries needed by a program, prepare the program to run, and then run it. It lost permissions to do anything, so it couldn't launch any needed library making system unbootale.

Executing (from live system):

sudo chmod 755 /lib/x86_64-linux-gnu/ld-2.21.so*

solve the problem.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related