A user has written a few scripts for private use. Which of the following commands should be used so that no one else has execute permission?
chmod a+x script_file
chmod -R 755 script_file
chmod u-rx script_file
chmod u+x script_file
Explanation & Hint:
To ensure that no one else has execute permission on the script while allowing the owner (user) to have execute permission, you should use the following command: chmod u-rx script_file This command removes the execute permission ( The other options:
|