To assign execute permission to the user (owner) for a file named file01.txt, which of the following command will be used?
(a) chmod u+r file01.txt
(b) chmod u+w file01.txt
(c) chmod u-x file01.txt
(d) chmod u+x file01.txt
I got this question during an interview.
I'm obligated to ask this question of Changing File Ownership and Permissions topic in section Basic File Attributes of Unix