Won't Fix
Details
Assignee
Thomas BayenThomas BayenReporter
Thomas BayenThomas BayenComponents
Affects versions
Priority
Minor
Details
Details
Assignee
Thomas Bayen
Thomas BayenReporter
Thomas Bayen
Thomas BayenComponents
Affects versions
Priority
Created February 7, 2013 at 5:24 AM
Updated December 18, 2013 at 2:21 PM
Resolved December 18, 2013 at 2:21 PM
When exporting from the account info window to OpenOffice (or Excel) iDempiere creates a temporary file in /tmp. This file is world readable (may be a security leak on multi user systems like terminal servers) and this file is never deleted (this is very annoying on a long running system like a terminal server).
The solution for the first part could be to change permissions (better, but I do not know yet how the Java API allows that for different platform filesystems) or to use a private tmp directory for all temporary files iDempiere creates.
The solution for the second part is to call File.deleteOnExit().
Issues of this kind may be in much more parts of the code. I we agree how we do it we should research more to find them.
Is there anybody using Windows and/or Mac willing to assist?