I would like a simple bash script to verify that all directories, subdirectories and files in /var/www/html comply with the standards of:
1) all are owned by apache:apache
2) all files have 0644 permissions
3) all directories and subdirectories have 0755 permissions
When a discrepancy is found, the script should append to a log file and correct the settings on the files and directories found to be noncompliant.
Needs to work on CentOS 6.x and CentOS 7.x
7 freelancers are bidding on average $22 for this job
Hi, I'm an experienced linux system administator. I think I can do the job. Please contact me and I'm getting started. And the script is ready! Cheers, Jason
Hello, I have recently created a bash shell script for automated installation and configuration of ISPConfig [url removed, login to view] project is due verification and I strongly believe I will triumph.