[jbosstools-issues] [JBoss JIRA] (JBIDE-17213) Improve the default value of Download folder in the download runtimes wizard

Lars Heinemann (JIRA) issues at jboss.org
Mon Aug 25 14:02:00 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-17213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995554#comment-12995554 ] 

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)


More information about the jbosstools-issues mailing list