Issue
Platform: CentOS 5.6 x86_64
I have a production server and a development server. I want to debug file ownership and permissions across a large directory structure, which is almost identical, give or take a few ephemeral files in temporary caches.
Does anyone know if this is possible? Manually checking file-for-file would not be practical, given the size of the directory tree.
Thanks in advance.
Solution
http://linuxconfig.org/backup-permissions-in-linux
This is the BEST script to bakup and restore the permissions of directories. When you get the directory permissions list from both servers, just run a diff on them (you might want to make some modificatins before that)
Answered By - Farhan Answer Checked By - Senaida (WPSolving Volunteer)