Hi,
I am looking for ways to solve my problem statement.
I have a list of directories with different permissions for example,
/path/to/folderA: 0755
/path/to/folderB: 0754
/path/to/folderC: 0745
Now today I have 3 folders of 3 different permissions tomorrow I have 6 folders of 6 different permissions.
I want to dump my required folders and permissions in a file and need to execute ansible playbook to give permission accordingly.
Even Shell Script is also ok if anybody can solve it.