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:
parent
d34b3c9a0f
commit
f2f16f2a35
@ -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>
|
Tue Jun 28 18:38:09 2016 Naohisa Goto <ngotogenome@gmail.com>
|
||||||
|
|
||||||
* ext/digest/md5/md5ossl.h: Remove excess semicolons.
|
* ext/digest/md5/md5ossl.h: Remove excess semicolons.
|
||||||
|
@ -1301,7 +1301,7 @@ module FileUtils
|
|||||||
else
|
else
|
||||||
File.chown st.uid, st.gid, path
|
File.chown st.uid, st.gid, path
|
||||||
end
|
end
|
||||||
rescue Errno::EPERM
|
rescue Errno::EPERM, Errno::EACCES
|
||||||
# clear setuid/setgid
|
# clear setuid/setgid
|
||||||
mode &= 01777
|
mode &= 01777
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user