LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   can I copy .gnupg folder to a machine with different username/group? (https://www.linuxquestions.org/questions/linux-server-73/can-i-copy-gnupg-folder-to-a-machine-with-different-username-group-4175598449/)

mtdew3q 01-28-2017 06:13 PM

can I copy .gnupg folder to a machine with different username/group?
 
hi-

I think I backed up my .gnupg but don't know if I can put it in my current home directory.

Is this possible?

I know now it is better to use export and import. I can't run export because I just backed up home and have switched distros but still use ext4.

thx. for any assistance.

mtdew3q

mtdew3q 01-28-2017 06:14 PM

hi-

also don't know if using different gpg2 instead of gpg2 makes a difference.

thx.

Habitual 01-28-2017 06:30 PM

Yes. you can copy it to a new /home on a new system under a new username ( and assign correct owner:group)

mtdew3q 01-28-2017 06:41 PM

hi Habitual-

having some luck but I there is a bug in 2.x because of something not set up for the migration the right way. anyway... I have old gnupg version on cygwin so I don't have to learn to avoid that just yet.

thx!-
mtdew3q


All times are GMT -5. The time now is 01:24 AM.