Results 1 to 3 of 3

Thread: unsafe ownership on configuration file

  1. #1
    Join Date
    Aug 2011
    Location
    Vancouver, BC, Canada
    Beans
    102
    Distro
    Ubuntu 10.04 Lucid Lynx

    Red face unsafe ownership on configuration file

    bump@bumpyputer:~$ sudo gpg --list-keys
    [sudo] password for bump:
    gpg: WARNING: unsafe ownership on configuration file `/home/bump/.gnupg/gpg.conf'
    bump@bumpyputer:~$

    /home/bump/.gnupg/gpg.conf
    listed under # Passphrase agent
    as uncommented use-agent
    the rest of the file is all commented.
    What does this mean & how do I correct it?

  2. #2
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: unsafe ownership on configuration file

    See this thread: http://ubuntuforums.org/showthread.php?t=1448524

    Short answer, that warning can be safely ignored.

  3. #3
    Join Date
    Mar 2010
    Location
    Dublin, Ireland
    Beans
    Hidden!
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: unsafe ownership on configuration file

    This happens because you're running it with sudo. GPG is warning that the user you are running as is not the owner of the gpg.conf file.

    GPG sees this as unsafe because it means that someone else (the file's owner) could manipulate the file, and it would be a potential security risk.

    In other words - because you're running gpg as sudo, it's correct behaviour.
    Matt
    blog.mattrudge.net for extra helpings of geeky Ubuntu goodness
    Get the Ubuntu Weekly Newsletter

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •