Project

General

Profile

Actions

Bug #1421

closed

Permission denied - ~/.ri

Added by znz (Kazuhiro NISHIYAMA) almost 15 years ago. Updated almost 13 years ago.

Status:
Closed
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) over 14 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) over 14 years ago

=begin
This is fixed in RDoc trunk.
=end

Actions #3

Updated by mame (Yusuke Endoh) almost 14 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) almost 14 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) almost 14 years ago

  • Assignee set to drbrain (Eric Hodel)

=begin

=end

Actions #6

Updated by drbrain (Eric Hodel) almost 14 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) almost 14 years ago

  • Status changed from Open to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0