Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have set a cron job to execute a bash script. If I change the permissions of the script to (Others: None) will it still be executed?

Thanks a lot

share|improve this question

Who wants to run the script? If 'root', yes there is no problem, otherwise the runner should have group or owner execution permission.
If you just put your script into cron.* folders, it is run by root. But you might use crontab -e.

share|improve this answer
Its a backup job thats runs every day when I am logged in. – ECII Dec 25 '11 at 17:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.