0

I'm running Debian 9.1 with KDE and used BackInTime (which uses rsync) to backup my files. Now I would like to create a changelog / diff of changes to permissions of files.

I'd like know this for two reasons: security and manually restoring permissions if there is no built-in way to do so. How can this be done?

2

you can use

rsync -ani source destination

if there will be file permission changes you will see output like

rsync -ani 1 new/
.f...p..... 1

the flags identify the changed parameter of the file

  1. f stands for file
  2. p stands for permission changes
  • 1
    also use the -n flag if you only want to perform a dry run without updates – Piyush Jain Aug 29 '17 at 11:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.