The dailyrun.sh shell script run by the user hr on a daily basis suddenly returns an error.
You investigate this by running the commands manually as user hr and discovered that this line of shell cod is responsible:
1s -als > /home/prodrun/files.1st
Bash: files.1st:cannot overwrite existing file
What is the cause of this error?
A. The hr user has no write permissions on the /home/prodrun/files.1st file.
B. The hr user has no write permissions on the /home/prodrun directory.
C. The dailyrun.sh shell script has the setuid bit turned off.
D. The hr user environment has set on the noclobber option.
Correct
source: http://www.linuxhowtos.org/Tips%20and%20Tricks/Protecting%20files%20with%20noclobber.htm