Linux Level 1 Q.9 Script Execution Permissions

eventhough i set execution permissions it failed

just check this eventhough it is showing no permissions to evryone its still executing

to check whether it is executable or not with other users i created a user and executes as that user still failed

finally it pass check marks after adding read permission as well


actually eventhough having execute persmission shell still want to read and print hence we require read permission as well

Correct. For a user to be able to execute a file, the user running the file needs both r and x attributes as in order to execute a file, it need to be first read into memory from the disk.