System: I am testing Linux Mint 19 Beta based on Ubuntu 18.04.
I got this warning while installing an unrelated package:
gpg: WARNING: unsafe ownership on homedir '/home/vlastimil/.gnupg'
This is the ls
output the of the directory itself:
$ lld /home/vlastimil/.gnupg
drwx------ 4 vlastimil vlastimil 4,0K Jun 26 11:42 /home/vlastimil/.gnupg
That seems to be OK.
This is the ls
output the contents of the directory:
$ ll /home/vlastimil/.gnupg/
total 24K
drwx------ 2 vlastimil vlastimil 4,0K Jun 26 11:36 crls.d
drwx------ 2 vlastimil vlastimil 4,0K Jun 26 05:28 private-keys-v1.d
-rw-r--r-- 1 vlastimil vlastimil 6,4K Jun 26 11:42 pubring.kbx
-rw-r--r-- 1 vlastimil vlastimil 3,2K Jun 26 11:37 pubring.kbx~
srwx------ 1 root root 0 Jun 26 11:38 S.dirmngr
-rw------- 1 vlastimil vlastimil 1,2K Jun 26 11:37 trustdb.gpg
I am unsure if I can't just delete the seemingly offending directory named S.dirmngr
.
I am also unsure if that would solve the issue or create another one.
I just remember that not long ago, I was instructed to install a package named like that, i.e. dirmngr
, but I can't remember with what software installation it was connected.
EDIT1:
As StephenKitt pointed out, I really ran this line, I have found in the history:
sudo gpg --recv-keys ...
Will this have any consequences?