Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tempfile behavior change in 1.7.15 #1997

Closed
oblutak opened this Issue Sep 23, 2014 · 3 comments

Comments

Projects
None yet
2 participants
@oblutak
Copy link

oblutak commented Sep 23, 2014

Sinc jruby-1.7.15 the following fails
irb(main):002:0> Tempfile.new 'test'
ArgumentError: Unable to find a non world-writable directory for Dir::tmpdir. Consider setting ENV['TMPDIR'], ENV['TMP'] or ENV['TEMP'] to a non world-writable directory.

The same worked on jruby-1.7.13

Environment is Solaris
$ uname -a
SunOS hostname 5.10 Generic_144489-12 i86pc i386 i86pc
$ java -version
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) Server VM (build 24.65-b04, mixed mode)
jruby 1.7.15 (1.9.3p392) 2014-09-03 82b5cc3 on Java HotSpot(TM) Server VM 1.7.0_65-b17 +jit [SunOS-x86]

@enebo

This comment has been minimized.

Copy link
Member

enebo commented Sep 24, 2014

@oblutak
This is working for me, but I am using HEAD of jruby-1_7 (which will be 1.7.16). Can you try this nightly and confirm the problem has been fixed (get 1.7.16 bin dist)?

https://projectodd.ci.cloudbees.com/view/JRuby/job/jruby-1.7-dist/

It is possible this has something to with Solaris environment but I think it was fixed a week or two ago.

@enebo enebo added this to the JRuby 1.7.16 milestone Sep 24, 2014

@oblutak

This comment has been minimized.

Copy link
Author

oblutak commented Sep 24, 2014

@enebo
Sorry. Didn't know it was so easy to access the 'next' version. I'll make sure I check that first, next time. It works fine in the 'to-be' 1.7.16. Thanks for taking time to look and reply!

@oblutak oblutak closed this Sep 24, 2014

@oblutak

This comment has been minimized.

Copy link
Author

oblutak commented Sep 29, 2014

Re-opening issue because I see it in the release version of 1.7.16 (and the current 1.7.17 nightly build)

@oblutak oblutak reopened this Sep 29, 2014

@oblutak oblutak closed this Sep 29, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.