Past ExamsRwanda ICT preparation

Topics / Operating Systems

Running ./backup.sh returns “Permission denied”, even though the user owns the file. What is the usual fix?

Lancer ./backup.sh renvoie « Permission denied », alors que l'utilisateur est propriétaire du fichier. Quelle est la correction habituelle ?

Answers
ARun chmod +x backup.sh, then run it againExécuter chmod +x backup.sh, puis relancer le script
BRename the file to backup.exe and try again from the same directoryRenommer le fichier en backup.exe et réessayer depuis le même répertoire
CMove the script into the /tmp directoryDéplacer le script dans le répertoire /tmp
DDelete the first line of the scriptSupprimer la première ligne du script
The answer and explanation are in the full bank.

This question is one of 2,831 in the paid banks. Each comes with the correct answer and the reasoning behind it, not just a mark.

Unlock for 5,000 RWF

MIFOTRA exam practicealigned to Practice set: Linux and CMD Commands·2 marks·Medium

More Operating Systems questions