ruby-changes:59393
From: Nobuyoshi <ko1@a...>
Date: Mon, 23 Dec 2019 10:28:04 +0900 (JST)
Subject: [ruby-changes:59393] 5f18635a80 (master): make-snapshot: fixed mode
https://git.ruby-lang.org/ruby.git/commit/?id=5f18635a80 From 5f18635a800eee29fd051ea758a2ec561f090ebe Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 23 Dec 2019 10:10:23 +0900 Subject: make-snapshot: fixed mode "X" must be used in conjunction with "+". diff --git a/tool/make-snapshot b/tool/make-snapshot index 78816c2..79289d6 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -316,7 +316,7 @@ def package(vcs, rev, destdir, tmp = nil) https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L316 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/