Results 1 to 10 of 10

Thread: Kgpg error "gpg: WARNING: unsafe permissions on configuration file"

Hybrid View

  1. #1
    Join Date
    Sep 2012
    Beans
    9

    Kgpg error "gpg: WARNING: unsafe permissions on configuration file"

    Hi all. Let me start by saying, since i found Ubuntu Studio i think i like it better than windows..

    Anyways, trying to get all my essentials in. I found a program called Kgpg in the studio market as well as kleopatra. I managed to install my old keys and unencrypt an email from a few weeks back ive been waiting to unencrypt. It seemed the program worked the first start, but after reseting my computer and attempting to reload Kgpg again i get the following error

    " GnuPG failed to start.
    You must fix the GnuPG error first before running KGpg.


    gpg: WARNING: unsafe permissions on configuration file `/home/falcor/.gnupg/gpg.conf'
    gpg: WARNING: unsafe enclosing directory permissions on configuration file `/home/falcor/.gnupg/gpg.conf'"


    my computers name is Falcor..


    Please how to fix? Only other option i can think of is to run windows in a virtual box so i can use the winpt i used to use, but rather not do this. Any advise would be appreciated. Thanks
    Last edited by losfalcor; September 28th, 2012 at 06:18 AM.

  2. #2
    Join Date
    Feb 2008
    Beans
    Hidden!

    Re: Kgpg error "gpg: WARNING: unsafe permissions on configuration file"

    terminal>
    Code:
    chmod 600 .gnupg -R
    What's a landing but a take off in reverse?

  3. #3
    Join Date
    Sep 2012
    Beans
    9

    Re: Kgpg error "gpg: WARNING: unsafe permissions on configuration file"

    Thanks for the reply. When i type that into the terminal i get

    "
    chmod: cannot access `.gnupg/pubring.gpg~': Permission denied
    chmod: cannot access `.gnupg/Fal.revoke': Permission denied
    chmod: cannot access `.gnupg/random_seed': Permission denied
    chmod: cannot access `.gnupg/pubring.kbx': Permission denied
    chmod: cannot access `.gnupg/private-keys-v1.d': Permission denied
    chmod: cannot access `.gnupg/trustdb.gpg': Permission denied
    chmod: cannot access `.gnupg/pubring.gpg': Permission denied
    chmod: cannot access `.gnupg/gpg.conf': Permission denied
    chmod: cannot access `.gnupg/pubring.kbx~': Permission denied
    chmod: cannot access `.gnupg/secring.gpg': Permission denied

    "


    i dont understand. Everything worked fine the first time. Current;y im using kleopatra
    and i have set up winpt in windows 7 in a virtualbox, but is very inconvenient

  4. #4
    Join Date
    Feb 2008
    Beans
    Hidden!

    Re: Kgpg error "gpg: WARNING: unsafe permissions on configuration file"

    terminal >
    Code:
    ls -ld .gnupg
    output please.
    What's a landing but a take off in reverse?

  5. #5
    Join Date
    Sep 2012
    Beans
    9

    Re: Kgpg error "gpg: WARNING: unsafe permissions on configuration file"

    i typed in the terminal " sudo kernel.shmmax = 128000000 " to fix a problem with avast, now the only error i get with kgpg is

    " gpg: option file `/home/falcor/.gnupg/gpg.conf': Permission denied "



    Quote Originally Posted by Habitual View Post
    terminal >
    Code:
    ls -ld .gnupg
    output please.
    I get this


    drw------- 3 falcor falcor 4096 Sep 29 07:08 .gnupg

  6. #6
    Join Date
    Feb 2008
    Beans
    Hidden!

    Re: Kgpg error "gpg: WARNING: unsafe permissions on configuration file"

    Well, that says you own the directory, now let's look inside it with:
    Code:
    ls -al .gnupg
    output please.
    What's a landing but a take off in reverse?

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
  •