Backport #7713

Gem.ensure_gem_subdirectories makes subdirectories group-writable

Added by Nobuyoshi Nakada over 2 years ago. Updated about 2 years ago.

[ruby-core:51502]
Status:Closed
Priority:Normal
Assignee:Tomoyuki Chikanaga

Description

`make install' makes gem directories ($(libdir)/ruby/gems and others) group-writable, instead of $dir_mode.

I avoided this at r38870 for the time being, but seems better that Gem.ensure_gem_subdirectories takes optional parameter for the permission.

Associated revisions

Revision 39607
Added by Eric Hodel about 2 years ago

  • lib/rubygems.rb: Allow specification of directory permissions. [ruby-trunk - Bug #7713]
  • test/rubygems/test_gem.rb: Test for the above.

Revision 39798
Added by Tomoyuki Chikanaga about 2 years ago

merge revision(s) 39607: [Backport #7713]

* lib/rubygems.rb:  Allow specification of directory permissions.
  [ruby-trunk - Bug #7713]

* test/rubygems/test_gem.rb:  Test for the above.

History

#1 Updated by Nobuyoshi Nakada over 2 years ago

  • Status changed from Open to Assigned

#2 Updated by Eric Hodel about 2 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r39607.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • lib/rubygems.rb: Allow specification of directory permissions. [ruby-trunk - Bug #7713]
  • test/rubygems/test_gem.rb: Test for the above.

#3 Updated by Tomoyuki Chikanaga about 2 years ago

  • Tracker changed from Bug to Backport
  • Project changed from Ruby trunk to Backport200
  • Category deleted (lib)
  • Status changed from Closed to Assigned
  • Assignee changed from Eric Hodel to Tomoyuki Chikanaga

#4 Updated by Tomoyuki Chikanaga about 2 years ago

  • Status changed from Assigned to Closed

This issue was solved with changeset r39798.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


merge revision(s) 39607: [Backport #7713]

* lib/rubygems.rb:  Allow specification of directory permissions.
  [ruby-trunk - Bug #7713]

* test/rubygems/test_gem.rb:  Test for the above.

Also available in: Atom PDF