From 289b60bcbe01808e5eae1079b9d6459ebe0c72fd Mon Sep 17 00:00:00 2001 From: Laurent Bachelier Date: Mon, 30 Jan 2012 16:13:36 +0100 Subject: [PATCH] Make trusted.gpg world-readable There is no reason to hide it from anyone, the GPG default is not appropriate in our case. --- weboob/applications/weboobrepos/weboobrepos.py | 1 + 1 file changed, 1 insertion(+) diff --git a/weboob/applications/weboobrepos/weboobrepos.py b/weboob/applications/weboobrepos/weboobrepos.py index a8c05e8e..7cae523e 100644 --- a/weboob/applications/weboobrepos/weboobrepos.py +++ b/weboob/applications/weboobrepos/weboobrepos.py @@ -129,6 +129,7 @@ class WeboobRepos(ReplApplication): if not os.path.exists(krname): raise Exception('No valid key file found.') kr_mtime = mktime(strptime(str(r.key_update), '%Y%m%d%H%M')) + os.chmod(krname, 0644) os.utime(krname, (kr_mtime, kr_mtime)) else: print 'Keyring is up to date'