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'