1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Tue Jun 28 22:09:09 2017 Akio Tajima <artonx@yahoo.co.jp>

* lib/fileutils.rb: rescue Errno:EACCES for chown.
	  [Bug #12520]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
arton 2016-06-28 13:14:48 +00:00
parent d34b3c9a0f
commit f2f16f2a35
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Tue Jun 28 22:09:09 2017 Akio Tajima <artonx@yahoo.co.jp>
* lib/fileutils.rb: rescue Errno:EACCES for chown.
[Bug #12520]
Tue Jun 28 18:38:09 2016 Naohisa Goto <ngotogenome@gmail.com>
* ext/digest/md5/md5ossl.h: Remove excess semicolons.

View file

@ -1301,7 +1301,7 @@ module FileUtils
else
File.chown st.uid, st.gid, path
end
rescue Errno::EPERM
rescue Errno::EPERM, Errno::EACCES
# clear setuid/setgid
mode &= 01777
end