I want to find a solution to backup,restore,compare permissions.
At first, I can use getfacl
and setfacl
,but output of this method is not ordered.example
Then, I tried this method,but output is one line string,hard to compare to find the difference.
Is there any solution to backup/restore,and compare folders and files permissions?