Code QuizAdvanced

Making a Script Owner-Executable

Spot the octal permission mistake when trying to grant rwx to the file's owner only.

Codebash
#!/bin/bash
# Goal: give the OWNER read, write, and execute
# permissions on deploy.sh (and nothing to group/others)

chmod 070 deploy.sh

ls -l deploy.sh
# expected: -rwx------  ... deploy.sh

What is the bug in this permission command?