Bug #1421
closedPermission denied - ~/.ri
Description
=begin
Some tests failed and error when home directory is not writable.
http://chkbuild.n-z.jp/ruby/debian-amd64/ruby-trunk/last
- 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:inblock (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'
-
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:innew' /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in
setup' -
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:innew' /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in
setup' -
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:innew' /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in
setup' -
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:innew' /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in
setup' -
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:innew' /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in
setup' -
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:innew' /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in
setup' -
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:innew' /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in
setup'
=end
Updated by yugui (Yuki Sonoda) over 15 years ago
- Assignee set to drbrain (Eric Hodel)
- Priority changed from Normal to 3
- Target version set to 1.9.2
=begin
=end
Updated by drbrain (Eric Hodel) over 15 years ago
=begin
This is fixed in RDoc trunk.
=end
Updated by mame (Yusuke Endoh) over 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 mame@tsg.ne.jp
=end
Updated by znz (Kazuhiro NISHIYAMA) over 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
Updated by drbrain (Eric Hodel) over 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
Updated by znz (Kazuhiro NISHIYAMA) over 14 years ago
- Status changed from Open to Closed
=begin
I confirmed it fixed on http://chkbuild.n-z.jp/ruby/debian-amd64/ruby-trunk/log/20100402T074003.diff.txt.gz.
=end