Project

General

Profile

« Previous | Next » 

Revision 7f7a7f13

Added by deivid (David Rodríguez) about 2 years ago

[rubygems/rubygems] Don't show bug report template when GEM_HOME has no writable bit

Instead, don't check that at all and proceed. If something fails to be
written inside GEM_HOME, we'll eventually fail with a proper permissions
error.

In addition to that, the writable bit in GEM_HOME is not even reliable,
because only the immediate parent is actually checked when writing. For
example,

$ mkdir -p foo/bar $ chmod -w foo $ touch foo/bar/baz # writes without issue 

https://github.com/rubygems/rubygems/commit/4bced7ac73