ruby-changes:43451
From: arton <ko1@a...>
Date: Tue, 28 Jun 2016 22:14:54 +0900 (JST)
Subject: [ruby-changes:43451] arton:r55525 (trunk): * lib/fileutils.rb: rescue Errno:EACCES for chown.
arton 2016-06-28 22:14:48 +0900 (Tue, 28 Jun 2016) New Revision: 55525 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55525 Log: * lib/fileutils.rb: rescue Errno:EACCES for chown. [Bug #12520] Modified files: trunk/ChangeLog trunk/lib/fileutils.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 55524) +++ ChangeLog (revision 55525) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Jun 28 22:09:09 2017 Akio Tajima <artonx@y...> + + * lib/fileutils.rb: rescue Errno:EACCES for chown. + [Bug #12520] + Tue Jun 28 18:38:09 2016 Naohisa Goto <ngotogenome@g...> * ext/digest/md5/md5ossl.h: Remove excess semicolons. Index: lib/fileutils.rb =================================================================== --- lib/fileutils.rb (revision 55524) +++ lib/fileutils.rb (revision 55525) @@ -1301,7 +1301,7 @@ module FileUtils https://github.com/ruby/ruby/blob/trunk/lib/fileutils.rb#L1301 else File.chown st.uid, st.gid, path end - rescue Errno::EPERM + rescue Errno::EPERM, Errno::EACCES # clear setuid/setgid mode &= 01777 end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/