diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-12-23 10:10:23 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-12-23 10:10:23 +0900 |
commit | 5f18635a800eee29fd051ea758a2ec561f090ebe (patch) | |
tree | c82af258e55933cafd6c0d186f061d6a21367e74 | |
parent | 80d5d220b948517306e23b18260768ab8fe008bc (diff) |
make-snapshot: fixed mode
"X" must be used in conjunction with "+".
-rwxr-xr-x | tool/make-snapshot | 2 |
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 |