1 |
> On Dec 17, 2019, at 20:51, Philip Webb <purslow@××××××××.net> wrote: |
2 |
> |
3 |
> When encrypting a file, I was told : |
4 |
> |
5 |
> root:552 root> gpg -c <filename> |
6 |
> gpg: WARNING: unsafe ownership on homedir '/home/purslow/.gnupg' |
7 |
> |
8 |
> The file is owned by my user, ie <user>:<user> . |
9 |
> This seems to be the default when 'gpg' is installed. |
10 |
|
11 |
It's probably complaining if you're running as root and you've set the GPG home did to be in /home/purslow/.gnupg rather than /root/.gnupg (and owned by root:root). Otherwise try setting that directory to 0700 permission (u+rwx g-rwx o-rwx). |
12 |
|
13 |
Andrew |