Operating System - HP-UX
1833875 Members
1987 Online
110063 Solutions
New Discussion

restore filesystem & compare permissions

 
M.Thomas
Frequent Advisor

restore filesystem & compare permissions

I need to restore a filesystem from backup (and create a new filesystem)(as customer suspects lot of permissions have changed). Once this new filesystem is created the two filesystems need to be compared and then the permissions have to be restored to the original filesystem. I can create a new filesystem and ask backup to restore to that filesystem, what would be a good way to compare permissions on these two filesystems?

Thanks

Thomas
3 REPLIES 3
Calandrello
Trusted Contributor

Re: restore filesystem & compare permissions

Tomas this backup referring to restore it was
carried through in another one server ?


Ivan Ferreira
Honored Contributor

Re: restore filesystem & compare permissions

I once did script with a find /filesysetm -exec ls -la on both system to list the files, permissions and sizes. Then, a diff between the files on both file system conviced the client.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
M.Thomas
Frequent Advisor

Re: restore filesystem & compare permissions

if the difference is small it is OK. if it is huge then it is going to be difficult to fix each permission

Thanks

Thomas