Project

General

Profile

Bug #1421

Permission denied - ~/.ri

Added by znz (Kazuhiro NISHIYAMA) over 10 years ago. Updated over 8 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'


5) 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'

6) 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'

7) 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'

8) 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'

9) 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'

10) 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'

11) 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

History

#1

Updated by yugui (Yuki Sonoda) about 10 years ago

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

=begin

=end

#2

Updated by drbrain (Eric Hodel) about 10 years ago

=begin
This is fixed in RDoc trunk.
=end

#3

Updated by mame (Yusuke Endoh) over 9 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 mame@tsg.ne.jp
=end

#4

Updated by znz (Kazuhiro NISHIYAMA) over 9 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

#5

Updated by wanabe (_ wanabe) over 9 years ago

  • Assignee set to drbrain (Eric Hodel)

=begin

=end

#6

Updated by drbrain (Eric Hodel) over 9 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

#7

Updated by znz (Kazuhiro NISHIYAMA) over 9 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF