From 663ae2df1ea28253edfd1467629f7e78e64a3ab6 Mon Sep 17 00:00:00 2001 From: Marcus Huewe Date: Thu, 25 Feb 2010 00:06:24 +0100 Subject: [PATCH] - checkout files with mode 0644 --- osc/core.py | 1 + 1 file changed, 1 insertion(+) diff --git a/osc/core.py b/osc/core.py index ac4279ca..a97fab56 100644 --- a/osc/core.py +++ b/osc/core.py @@ -2724,6 +2724,7 @@ def get_source_file(apiurl, prj, package, filename, targetfilename=None, revisio o.write(buf) o.close() shutil.move(tmpfile, targetfilename or filename) + os.chmod(targetfilename or filename, 0644) except: os.unlink(tmpfile) raise