So I did a chmod -x chmod. How I can fix this problem? How do I give execute rights back to chmod?
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
|
|||||||||||||||||
|
|
Use python:
|
|||||
|
|
This relies on the fact that permissions of a destination file are preserved rather than the source file when it is being copied over. We're "borrowing" the permissions of
|
|||||
|
|
|
This is weird... I saw something like this a few days ago via someone's tweet... |
|||||||
|
|
Should you be on a system where
This works on my MacOS X system. |
|||
|
|
|
... will grant the owner execute permissions. But, the |
|||
|
|
|
/rescue/chmod 555 /bin/chmod I think you could also use mtree. |
|||
|
|
create a new chmod and use that for the original
|
|||||||
|
|
I suspect this is not a real question: http://www.slideshare.net/cog/chmod-x-chmod
|
|||
|
|
chmod! – Thanatos Nov 5 '10 at 16:43