Skip to content

Comment on Linux Sysadmin/DevOps Interview Questionsparent

Comments

> A careless sysadmin executes the following command: chmod 444 /bin/chmod - what do you do to fix this?
My favourite way of fixing it is by running /bin/chmod. It blows minds of most smart-asses who ask this question.

----

Not sure what I'm missing here?

    $ docker run -it ubuntu
    # chmod 444 /bin/chmod
    # /bin/chmod
    bash: /bin/chmod: Permission denied

ELF interpreter/loader.

  objdump -s -j .interp /bin/chmod
  /lib64/ld-linux-x86-64.so.2 /bin/chmod
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.