Bug #16679
closedTest of Ruby fails under multiple OS user userland installations
Description
I do user land installations where each of multiple installations of a complex system under it's own OS user installs it's own version of tools from sources if the OS installed version doesn't match necessary criteria.
The system has to be installable under Linux OEL 4.x up to OL8, SuSE 10 up to openSUSE 15.1, and SLES 10 up to SLES 15.
I always let run make check/test
for each OSS tool I install from sources.
Ruby has to be one these tools in future versions.
One of the errors I run into when testing is:
Current OS user is imppg.
-
Error:
TestGemCommandsCertCommand#test_execute_re_sign_with_cert_expiration_length_days:
Errno::EACCES: Permission denied @ rb_sysopen - /tmp/expired_cert.pem
/imphome/imppg/.install/impmake/ruby/ruby-2.6.5/test/rubygems/test_gem_commands_cert_command.rb:627:inwrite' /imphome/imppg/.install/impmake/ruby/ruby-2.6.5/test/rubygems/test_gem_commands_cert_command.rb:627:in
test_execute_re_sign_with_cert_expiration_length_days' -
Error:
TestGemCommandsCertCommand#test_execute_re_sign:
Errno::EACCES: Permission denied @ rb_sysopen - /tmp/expired_cert.pem
/imphome/imppg/.install/impmake/ruby/ruby-2.6.5/test/rubygems/test_gem_commands_cert_command.rb:596:inwrite' /imphome/imppg/.install/impmake/ruby/ruby-2.6.5/test/rubygems/test_gem_commands_cert_command.rb:596:in
test_execute_re_sign'
Path of /tmp/expired_cert.pem is identical for every OS user:
imppg@imptstdvl(001):~/impmake/ruby/current$ ls -l /tmp/expired_cert.pem
-rw-r----- 1 imptst imptst 1111 Mar 4 01:11 /tmp/expired_cert.pem