The Source for Java Technology Collaboration

Home » java.net Forums » Java Deployment & Distribution » Java Web Start

Thread: Webstart temp folder permissions problem a bug?

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
This question is not answered. Helpful answers available: 2. Correct answers available: 1.

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 3 - Last Post: Dec 4, 2008 1:10 AM by: mthornton Threads: [ Previous | Next ]
schaatser

Posts: 5
Webstart temp folder permissions problem a bug?
Posted: Dec 3, 2008 4:48 AM
 
  Click to reply to this thread Reply

Webstart uses a temp folder to store the downloaded files.
This folder is often not writable for our customers/users of our program.
(e.g. A sysadmin installs java as administrator and the user can't write in the temp folder of the administrator off course)
This results in "failed to load application"

Can I consider this a bug in Javaws?

it should prompt the user to select a folder if javaws cannot write to its cache/temp folder.
to simply fail is not a good way to give confidence in our program.

mthornton

Posts: 528
Re: Webstart temp folder permissions problem a bug?
Posted: Dec 3, 2008 7:28 AM   in response to: schaatser
 
  Click to reply to this thread Reply

On Windows, WebStart uses a per user temp directory which ought to be writable by that user unless the system is badly screwed up.
What operating system are you using and where is the temp folder concerned?

schaatser

Posts: 5
Re: Webstart temp folder permissions problem a bug?
Posted: Dec 3, 2008 2:37 PM   in response to: mthornton
 
  Click to reply to this thread Reply

we deploy the webstart program, our customers (400+) use it mostly on windows.

I more and more consider it a bug of webstart to fail.
You can change the temp folder to anywhere you like. But you (or an admin) can change the write permission of that folder. After that webstart fails to start any program.

Problems are mostly in a Citrix environment with a group of customers.
After a normal java install (by an admin) on this systems the temp folder is not writable by the users. A good sysadmin should know this of course.
I think Java should not fail but prompt the user to select another temp folder in case it cannot write to the temp folder.

mthornton

Posts: 528
Re: Webstart temp folder permissions problem a bug?
Posted: Dec 4, 2008 1:05 AM   in response to: schaatser
 
  Click to reply to this thread Reply

No I think this is a failure of the administrators and/or the Citrix environment. Java is entitled to expect that the folders it uses for the WebStart cache (which are in a user's profile) are writable by that user.

This guide may help

http://java.sun.com/javase/6/docs/technotes/guides/deployment/deployment-guide/properties.html

Message was edited by: mthornton




 XML java.net RSS