This is task 4 of 100 days of devops. Question does not ask specifically for any particular user but it says all users should be able to execute it.
‘’’
In a bid to automate backup processes, the xFusionCorp Industries sysadmin team has developed a new bash script named xfusioncorp.sh. While the script has been distributed to all necessary servers, it lacks executable permissions on App Server 3 within the Stratos Datacenter.
Your task is to grant executable permissions to the /tmp/xfusioncorp.sh script on App Server 3. Additionally, ensure that all users have the capability to execute it.
‘’’
Hello , I have an issue with Task 3 I’m hoping you found your way around it. I got an error that the sshd_config file was not properly edited on App Server 1 however I issued the same permissions on Server 2 and 3 . Can you assist please ?
I do think the point of the task is to teach us that for a script (like a shell script), the interpreter (e.g., /bin/bash) needs to have read permission on the file to execute it.
So yes, the task isn’t specific, but now I probably would never forget that I need to add r permission with x for the shell to read and execute (cos the kernel needs to read the shebang and start the right interpreter).