commit:     4fadb055f19ae38ef4b6f238cad1903a41ce37ef
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  2 08:12:01 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Aug  2 08:12:01 2020 +0000
URL:        https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=4fadb055

genrdeps-index: Fix permissions of .tar.xz

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 genrdeps-index.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/genrdeps-index.py b/genrdeps-index.py
index feea62c..1dc958b 100755
--- a/genrdeps-index.py
+++ b/genrdeps-index.py
@@ -112,6 +112,7 @@ def main():
                 ['xz', '-9', tmpf.name],
                 cwd=args.outputdir)
             os.rename(tmpf.name + '.xz', os.path.join(args.outputdir, 
'rdeps.tar.xz'))
+            os.chmod(os.path.join(args.outputdir, 'rdeps.tar.xz'), 0o644)
         except Exception as e:
             raise e
         finally:

Reply via email to