GPG Warnung beim Dateien verschlüsseln
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hallo zusammen,
habe seit einem Umzug meines Homeverzeichnis ein Problem mit Gnupg.
Wenn ich mittels
"gpg --homedir /home/thomas/.gnupg/ -r $gpgemail -e $datname"
(wird in einem Bash-Script verwendet das als root läuft)
eine Datei verschlüsseln will geht es zwar, aber ich kriege immer als
Meldung
<gpg: WARNUNG: Unsicheres Besitzverhältnis von homedir
"/home/thomas/.gnupg/">
Also mal nachgeguckt und ein ls -l im Homeverzchnis gibt:
<snip>
drwx------ 2 thomas thomas 4096 5. Apr 21:26 .gnupg
<snip>
Und in .gnupg ls -l gemacht ergibt:
thomas@debian:~/.gnupg$ ls -l
insgesamt 36
- -rw-r--r-- 1 thomas thomas 4380 13. Feb 00:47 options
- -rw-r--r-- 1 thomas thomas 14239 26. Mär 15:18 pubring.gpg
- -rw------- 1 thomas thomas 600 5. Apr 21:25 random_seed
- -rw------- 1 thomas thomas 1311 26. Mär 15:18 secring.gpg
- -rw------- 1 thomas thomas 1360 26. Mär 15:36 trustdb.gpg
Welche Dateien/Verzeichnisse sind denn da unsicher ?
Habe schon mal auf der GnuPG Homepage geschaut aber da habe ich
keinerlei Hinweis zu meinem Problem gefunden.
Danke Thomas Braun
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+jy/qVxs0dpB3YGIRAirwAJ9rsByrndQaua3ZoiaflESQg8F6agCgqCIx
RH1rEqOZqKEBgWQF5h8a8p4=
=3XVF
-----END PGP SIGNATURE-----
Reply to: