> On Dec 17, 2019, at 20:51, Philip Webb <purs...@ca.inter.net> wrote:
> 
> When encrypting a file, I was told :
> 
>  root:552 root> gpg -c <filename> 
>  gpg: WARNING: unsafe ownership on homedir '/home/purslow/.gnupg'
> 
> The file is owned by my user, ie  <user>:<user> .
> This seems to be the default when 'gpg' is installed.

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).

Andrew

Reply via email to