So, as some of you may remember, I've been working on something to help users back up their user directories and migrate them to new machines. We really have no good tools at present to do this, so I'm putting together a small Qt application to make this easier.
https://github.com/rjhansen/sherpa (Note: it is not complete and not ready for user testing.) It *almost* works on macOS and Linux; it's a little further from finished on Windows. I'm now at the point where I need to restore files from a zip archive, and part of that means ensuring I have the correct POSIX permissions on each file. The files which, if present, are backed up: gpg-agent.conf gpg.conf pubring.gpg secring.gpg trustdb.gpg pubring.kbx sshcontrol dirmngr.conf gpa.conf scdaemon.conf gpgsm.conf policies.txt trustlist.txt scd-event tofu.db gpg.conf-2.1 gpg.conf-2.0 gpg.conf-2 gpg.conf-1.4 gpg.conf-1 crls.d/* openpgp-revocs.d/[A-Fa-f0-9]{40}\.rev private-keys-v1.d/[A-Fa-f0-9]{40}\.key So, two questions: (a) Is this list missing anything important? (b) What's the official, GnuPG-approved permission for each? (Oh, sure, I could just assume my GnuPG installation had correct perms and use those. But for something like this, I'd like to be sure.) _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users