[
https://issues.jboss.org/browse/JBIDE-17213?page=com.atlassian.jira.plugi...
]
Lars Heinemann commented on JBIDE-17213:
----------------------------------------
Whatever...but its easy to check if the folder is writable. We should put such a logic in
and if its not writable then we should tell user to specify another folder.
Improve the default value of Download folder in the download runtimes
wizard
----------------------------------------------------------------------------
Key: JBIDE-17213
URL:
https://issues.jboss.org/browse/JBIDE-17213
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: runtime-detection
Affects Versions: 4.2.0.Beta1
Environment: Kubuntu 13.10
Reporter: Lars Heinemann
Assignee: Rob Stryker
Fix For: 4.2.0.CR1
Attachments: jbt_downloadruntime.png
The download folder defaults to /tmp folder. That is on Kubuntu and maybe Ubuntu as well
a bad choice as only root can write to that folder. The folder /var/tmp/ is the better
choice on this OS.
I would propose to use java.io.tmpdir for the default value if possible and check if that
is writable for the user. If thats not the case we should have some fallback folder.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)