mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
make-snapshot: fixed mode
"X" must be used in conjunction with "+".
This commit is contained in:
parent
80d5d220b9
commit
5f18635a80
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user