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?

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?Category: Introduction to Linux IIA 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?
Linux Questions Staff asked 1 year ago

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 u-rx script_file
  • chmod u+x script_file
  • chmod -R 755 script_file
  • chmod a+x script_file

About the author