Project

General

Profile

Backport #7713

Gem.ensure_gem_subdirectories makes subdirectories group-writable

Added by nobu (Nobuyoshi Nakada) over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
[ruby-core:51502]

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 6e48ce9c
Added by drbrain (Eric Hodel) over 6 years ago

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 39607
Added by drbrain (Eric Hodel) over 6 years ago

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

Revision 39607
Added by drbrain (Eric Hodel) over 6 years ago

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

Revision 39607
Added by drbrain (Eric Hodel) over 6 years ago

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

Revision 39607
Added by drbrain (Eric Hodel) over 6 years ago

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

Revision 39607
Added by drbrain (Eric Hodel) over 6 years ago

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

Revision 39607
Added by drbrain (Eric Hodel) over 6 years ago

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

Revision 86ae4bc2
Added by nagachika (Tomoyuki Chikanaga) over 6 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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 39798
Added by nagachika (Tomoyuki Chikanaga) over 6 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

Updated by nobu (Nobuyoshi Nakada) over 6 years ago

  • Status changed from Open to Assigned
#2

Updated by drbrain (Eric Hodel) over 6 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 nagachika (Tomoyuki Chikanaga) over 6 years ago

  • Tracker changed from Bug to Backport
  • Project changed from Ruby master to Backport200
  • Category deleted (lib)
  • Status changed from Closed to Assigned
  • Assignee changed from drbrain (Eric Hodel) to nagachika (Tomoyuki Chikanaga)
#4

Updated by nagachika (Tomoyuki Chikanaga) over 6 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