Re: chmod a-x chmod Fix?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mathieu Chouquet-Stringer wrote:

> /lib/ld-linux.so.2 chmod (meaning as long you have +x on ld-linux.so.2 you
> can execute any file you can read).

This sounds extremely cool and dangerous, but I could not make it work.

$ cd ~
$ cp /bin/chmod .

# chmod 644 /home/agreen/chmod

$ /lib/ld-linux.so.2 /home/agreen/chmod

$ /lib/ld-linux.so.2 /home/agreen/chmod
/home/agreen/chmod: error while loading shared libraries:
/home/agreen/chmod: cannot open shared object file: No such file or
directory

$ ll /lib/ld-linux.so.2
lrwxrwxrwx  1 root root 11 Aug 24 10:45 /lib/ld-linux.so.2 -> ld-2.3.5.so
$ ll /lib/ld-2.3.5.so
-rwxr-xr-x  1 root root 126564 Aug 15 15:34 /lib/ld-2.3.5.so

-Andy

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux