[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mandrake-cooker
Subject:    [Cooker] Unsafe permissions with gnupg-1.0.7-2mdk
From:       Andreas Simon <yuipx () gmx ! net>
Date:       2002-08-13 11:35:33
[Download RAW message or body]

Hi,

I just installed gnupg-1.0.7-2mdk. The postinstall script created
and populated /root/.gnupg with the following permissions:

# ll
[root@obsidian .gnupg]# ll
total 12
-rw-r--r--    1 root     root            0 Aug 13 13:26 options
-rw-r--r--    1 root     root         3215 Aug 13 13:26 pubring.gpg
-rw-r--r--    1 root     root         2233 Aug 13 13:26 pubring.gpg~
-rw-------    1 root     root            0 Aug 13 13:26 secring.gpg
-rw-r--r--    1 root     root           40 Aug 13 13:26 trustdb.gpg
[root@obisdian .gnupg]# ll -d /root/.gnupg
drwxr-xr-x    2 root     root          200 Aug 13 13:26 /root/.gnupg/

According the gpg these permissions are unsafe:

[root@obsidian .gnupg]# gpg
gpg: Warning: unsafe permissions on file "/root/.gnupg/options"
gpg: Warning: unsafe permissions on file "/root/.gnupg/pubring.gpg"
gpg: Go ahead and type your message ...

Maybe there should be something like a 'chmod -R 600 /root/.gnupg'
in the postinstall script.

Cheers,
Andreas

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic