icedteaweb/jnlp can't create a new file locally

shinal.pala at fujitsu.com shinal.pala at fujitsu.com
Thu Nov 18 08:58:54 UTC 2021


Hi,

I believe you have provided input into the workings of iceteawebs - createdRestrictedFile method and looked into the permissions side of things.

I have recently moved our code from using JavaWebStart to OpenWebStart, I am using the latest version of the openwebstart.jar to support my existing code
However when I attempt to save some new tailoring via the FileSaveService.saveFileDialogue and provide the name of a file that doesn't exist then I can see from the openwebstart console I get an IOException saying



"Can't rename ...test.temp to ...test" from within the createRestrictedFile file method in the RestrictedFileUtils class.



However if I create an empty file and attempt to save the tailoring it can read and write to the existing file.



I believe my problem is something to do with permissions or security but I'm not sure what to change/google to remedy this problem or to find the cause of it.

Would you be able to provide some guidance/pointer?



I have attached the error I can see in the ows console.

I really hope you can help.

Thanks

Shinal


Unless otherwise stated, this email has been sent from Fujitsu Services Limited (registered in England No 96056); Fujitsu EMEA PLC (registered in England No 2216100) both with registered offices at: 22 Baker Street, London W1U 3BW; PFU (EMEA) Limited, (registered in England No 1578652) registered offices at: Belmont, Belmont Road, Uxbridge, England, UB8 1HE and Fujitsu Research of Europe Ltd (registered in England No. 4153469) 4th Floor, Building 3, Hyde Park Hayes, 11 Millington Road, Hayes, UB3 4AZ.

This email is only for the use of its intended recipient. Its contents are subject to a duty of confidence and may be privileged. Fujitsu does not guarantee that this email has not been intercepted and amended or that it is virus-free.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20211118/304deec1/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: OWSConsoleError.txt
URL: <https://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20211118/304deec1/OWSConsoleError.txt>


More information about the distro-pkg-dev mailing list