I am using a linux system and need to experiment with some permissions on a set of nested files and directories. I wonder if there is not some way to save the permissions for t
I have a Python script for doing this at https://github.com/robertknight/mandrawer/blob/master/save-file-attrs.py
save-file-attrs.py save
Will save the permissions, mode and modification times of files in the dir tree rooted at the current working directory to a local file (.saved-file-attrs) and:
save-file-attrs.py restore
Will restore those attributes from the file and display the changes.