Backport #7713

Gem.ensure_gem_subdirectories makes subdirectories group-writable

Added by Nobuyoshi Nakada over 1 year ago. Updated about 1 year 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.ensuregemsubdirectories takes optional parameter for the permission.

Associated revisions

Revision 39798
Added by Tomoyuki Chikanaga about 1 year 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 1 year ago

  • Status changed from Open to Assigned

#2 Updated by Eric Hodel about 1 year 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 1 year 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 1 year 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