I've seen interviewers ask for the sticky bit and the difference between hard and soft links as similar shibboleths.
shabble@host:~$ cp /bin/chmod /tmp/chmoo
shabble@host:~$ chmod 600 /tmp/chmoo
shabble@host:~$ ll /tmp/ch*
-rw------- 1 shabble shabble 59K Nov 21 17:15 /tmp/chmoo
shabble@host:~$ /tmp/chmoo
-bash: /tmp/chmoo: Permission denied
shabble@host:~$ /lib64/ld-linux-x86-64.so.2 /tmp/chmoo
/tmp/chmoo: missing operand
Try '/tmp/chmoo --help' for more information.I've known about this trick for a long time, but I've always thought its days were numbered.
Another way to solve the problem:
scp unfuckedhost:/bin/chmod .
./chmod (stuff)