summaryrefslogtreecommitdiff
path: root/tool/make-snapshot
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-23 10:10:23 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-23 10:10:23 +0900
commit5f18635a800eee29fd051ea758a2ec561f090ebe (patch)
treec82af258e55933cafd6c0d186f061d6a21367e74 /tool/make-snapshot
parent80d5d220b948517306e23b18260768ab8fe008bc (diff)
make-snapshot: fixed mode
"X" must be used in conjunction with "+".
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-xtool/make-snapshot2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index 78816c2d85..79289d6bfb 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -316,7 +316,7 @@ def package(vcs, rev, destdir, tmp = nil)
FileUtils.mkpath(File.dirname(dest))
begin
FileUtils.cp_r(file, dest)
- FileUtils.chmod_R("u=rwX,go=rX", dest)
+ FileUtils.chmod_R("a+rwX,go-w", dest)
rescue SystemCallError
end
end