diff options
Diffstat (limited to 'scripts/post-review')
-rwxr-xr-x | scripts/post-review | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/post-review b/scripts/post-review index e024cdd..4822ad9 100755 --- a/scripts/post-review +++ b/scripts/post-review @@ -1702,7 +1702,7 @@ class PerforceClient(SCMClient): """ debug('Writing "%s" to "%s"' % (depot_path, tmpfile)) execute(["p4", "print", "-o", tmpfile, "-q", depot_path]) - os.chmod(tmpfile, stat.S_IWRITE) + os.chmod(tmpfile, stat.S_IREAD | stat.S_IWRITE) def _depot_to_local(self, depot_path): """ |