[rubygems/rubygems] Let original EACCES error be raised
This block of code already wraps file operations with SharedHelpers.filesystem_access, which rescues and re-raises more friendly errors. Also, I'm not fully sure creating a temporary directory can end up raising an Errno::EACCES error from reading tmpdir sources. Finally, this rescue block apparently leads to some false positives when firewall is blocking the ruby executable on Windows, or at least that's what we've got reported.
In any case, I think it's best to let the original error be raised.
[rubygems/rubygems] Let original EACCES error be raised
This block of code already wraps file operations with
SharedHelpers.filesystem_access, which rescues and re-raises morefriendly errors. Also, I'm not fully sure creating a temporary directory
can end up raising an
Errno::EACCESerror from readingtmpdirsources. Finally, this rescue block apparently leads to some false
positives when firewall is blocking the ruby executable on Windows, or
at least that's what we've got reported.
In any case, I think it's best to let the original error be raised.
https://github.com/rubygems/rubygems/commit/f7dbe54404