Linux File Permissions – Task Details
There are new requirements to automate a backup process that was performed manually by the
xFusionCorp Industries system admins team earlier. To automate this task, the team has developed a new bash script
xfusioncorp.sh. They have already copied the script on all required servers, however, they did not make it executable on one of the app servers i.e
App Server 1 in
Please give executable permissions to
/tmp/xfusioncorp.sh script on
App Server 1. Also, make sure every user can execute it.
Note: The App Server might be different in your case.
Here I am going to show you the steps for Linux File Permissions on App Server 1 and you can follow the same steps for the App server mentioned in your Task details.
Step 1: From the Jump host login to App Server 1 using SSH details:
$ ssh email@example.com
Enter the password provided to you to complete the authentication
Step 2: Change directory to /tmp/
$ cd /tmp/
Step 3: Give executable permissions to
$ sudo chmod 555 xfusioncorp.sh
This will give Read and Execute (-r-x r-x r-x) permissions to all the users.
Good luck with your task.
For more blogs click here
Start working on real time project with Kodekloud