Project

General

Profile

Actions

Bug #1421

closed

Permission denied - ~/.ri

Added by znz (Kazuhiro NISHIYAMA) about 13 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
ruby 1.9.2dev (2010-03-25) [x86_64-linux]
Backport:
[ruby-core:23334]

Description

=begin
Some tests failed and error when home directory is not writable.

http://chkbuild.n-z.jp/ruby/debian-amd64/ruby-trunk/last

  1. Failure:
    test_execute_remote(TestGemCommandsInstallCommand) [/home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rubygems/test_gem_commands_install_command.rb:120]:
    [Gem::SystemExitException] exception expected, not
    Class: Errno::EACCES
    Message: <"Permission denied - /home/chkbuild/.ri">
    ---Backtrace---
    /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rubygems/test_gem_commands_install_command.rb:123:in block (2 levels) in test_execute_remote' /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rubygems/test_gem_commands_install_command.rb:120:in block in test_execute_remote'
    /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rubygems/test_gem_commands_install_command.rb:119:in `test_execute_remote'

  1. Error:
    test_lookup_method_class_method(TestRDocRIDriver):
    Errno::EACCES: Permission denied - /home/chkbuild/.ri
    /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in new' /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in setup'

  2. Error:
    test_lookup_method_class_missing(TestRDocRIDriver):
    Errno::EACCES: Permission denied - /home/chkbuild/.ri
    /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in new' /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in setup'

  3. Error:
    test_lookup_method(TestRDocRIDriver):
    Errno::EACCES: Permission denied - /home/chkbuild/.ri
    /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in new' /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in setup'

  4. Error:
    test_lookup_method_dot_instance(TestRDocRIDriver):
    Errno::EACCES: Permission denied - /home/chkbuild/.ri
    /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in new' /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in setup'

  5. Error:
    test_lookup_method_method_missing(TestRDocRIDriver):
    Errno::EACCES: Permission denied - /home/chkbuild/.ri
    /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in new' /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in setup'

  6. Error:
    test_lookup_method_dot_class(TestRDocRIDriver):
    Errno::EACCES: Permission denied - /home/chkbuild/.ri
    /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in new' /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in setup'

  7. Error:
    test_parse_name(TestRDocRIDriver):
    Errno::EACCES: Permission denied - /home/chkbuild/.ri
    /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in new' /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in setup'
    =end

Actions #1

Updated by yugui (Yuki Sonoda) almost 13 years ago

  • Assignee set to drbrain (Eric Hodel)
  • Priority changed from Normal to 3
  • Target version set to 1.9.2

=begin

=end

Actions #2

Updated by drbrain (Eric Hodel) almost 13 years ago

=begin
This is fixed in RDoc trunk.
=end

Actions #3

Updated by mame (Yusuke Endoh) over 12 years ago

  • Assignee changed from drbrain (Eric Hodel) to znz (Kazuhiro NISHIYAMA)

=begin
Hi,

Kazuhiro, is this still reproduced?
If not, could you close the ticket?

--
Yusuke Endoh
=end

Actions #4

Updated by znz (Kazuhiro NISHIYAMA) over 12 years ago

  • Assignee deleted (znz (Kazuhiro NISHIYAMA))
  • ruby -v changed from ruby 1.9.2dev (2009-04-28) [x86_64-linux] to ruby 1.9.2dev (2010-03-25) [x86_64-linux]

=begin
Backtraces changed on http://chkbuild.n-z.jp/ruby/debian-amd64/ruby-trunk/log/20100213T073651.diff.txt.gz,
but it still raises "Permission denied".
=end

Actions #5

Updated by wanabe (_ wanabe) about 12 years ago

  • Assignee set to drbrain (Eric Hodel)

=begin

=end

Actions #6

Updated by drbrain (Eric Hodel) about 12 years ago

=begin
Does this reproduce on trunk now that it has RDoc 2.5.2?

Line 18 of test/rdoc/test_rdoc_ri_driver.rb is now a blank line.
=end

Actions #7

Updated by znz (Kazuhiro NISHIYAMA) about 12 years ago

  • Status changed from Open to Closed
Actions

Also available in: Atom PDF