gpg: WARNING: unsafe ownership on homedir

Ira.Kirschner at sungard.com Ira.Kirschner at sungard.com
Tue Jun 4 21:22:04 CEST 2013


I have researched this error message and have found the suggestions do not work. Does anyone know how to have this warning message stop?

I am getting the message:   gpg: WARNING: unsafe ownership on homedir `/home/wsc_gpg/.gnupg'

User wsc_gpg owns the gpg installation.
The process is running from root as:
sudo -u wsc_gpg cat /home/wsc_gpg/.gnupg/cache.txt | gpg --homedir /home/wsc_gpg/.gnupg --batch --yes --no-mdc-warning --skip-verify --passphrase-fd 0 --no-secmem-warning -o $OUTPUTFILE -d $ENCRYPTEDFILE

I am running on Red Hat Linux 6.4.6

# gpg --version
gpg (GnuPG) 1.4.5
Copyright (C) 2006 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA
Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2

The directories in question have the following ownership
[root at wsc-voo-005 scripts]# ls -al /home/wsc_gpg
total 40
drwx------  5 wsc_gpg wsc_gpg  4096 Jun  1 06:38 .
drwxr-xr-x 28 root    root     4096 Feb 26 01:42 ..
-rw-------  1 wsc_gpg wsc_gpg 10416 Jun  3 16:45 .bash_history
drwx------  2 wsc_gpg wsc_gpg  4096 Jun  4 14:25 .gnupg
drwx------  3 wsc_gpg wsc_gpg  4096 May 22 14:41 .pgp
drwx------  2 wsc_gpg wsc_gpg  4096 Feb 26 02:33 .ssh
-rw-------  1 wsc_gpg wsc_gpg   753 Jun  1 06:38 .viminfo
[root at wsc-voo-005 scripts]# ls -al /home/wsc_gpg/.gnupg
total 356
drwx------ 2 wsc_gpg wsc_gpg   4096 Jun  4 14:25 .
drwx------ 5 wsc_gpg wsc_gpg   4096 Jun  1 06:38 ..
-rw------- 1 wsc_gpg wsc_gpg    526 May 22 13:37 cache.bsh
-rw------- 1 wsc_gpg wsc_gpg     51 Jun  3 08:14 cache.txt
-rw------- 1 wsc_gpg wsc_gpg     26 Jun  1 06:38 options
-rw------- 1 wsc_gpg wsc_gpg 151660 May 31 12:36 pubring.gpg
-rw------- 1 wsc_gpg wsc_gpg 151354 May 31 12:14 pubring.gpg~
-rw------- 1 wsc_gpg wsc_gpg    600 Jun  4 14:25 random_seed
-rw------- 1 wsc_gpg wsc_gpg   1326 May 22 13:39 secring.gpg
-rw------- 1 wsc_gpg wsc_gpg   1240 May 31 12:14 trustdb.gpg
-rw------- 1 wsc_gpg wsc_gpg   1680 May 22 13:38 wsc_public.asc
-rw------- 1 wsc_gpg wsc_gpg   1680 May 22 13:38 wsc_public_compatible.asc
-rw------- 1 wsc_gpg wsc_gpg   3342 May 22 13:38 wsc_public_pair.asc
-rw------- 1 wsc_gpg wsc_gpg   3342 May 22 13:38 wsc_public_pair_compatible.asc


Ira Kirschner * CIO * Wall Street Concepts * Capital Markets * SunGard * 59 Maiden Lane, 32nd Floor, New York, NY 10038 *
Direct (646) 445-1087 * Tel (646) 445-1099 ext 1087 * Mobile (917) 847-1686 * ira.kirschner at sungard.com<mailto:ira.kirschner at sungard.com> * www.sungard.com<http://www.sungard.com/>

[Description: Description: Description: Description: coc-signature-03-2012]<http://www.capitalize-on-change.com/?email=70150000000Y1Et>

Join the online conversation with SunGard's customers, partners and Industry experts and find an event near you at: www.sungard.com/ten<http://www.capitalize-on-change.com/?email=70150000000Y1Et>.

CONFIDENTIALITY: This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited.  If you receive this e-mail in error, please notify the sender and delete this e-mail from your system.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20130604/e464246c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 8696 bytes
Desc: image001.gif
URL: </pipermail/attachments/20130604/e464246c/attachment-0001.gif>


More information about the Gnupg-users mailing list