#5 Use different temporary folder for different users

closed
nobody
None
5
2007-08-02
2007-08-02
No

The original issue reported in https://hudson.dev.java.net/issues/show_bug.cgi?id=693

Given that JRE apparently chooses the same temporary directory no matter what user account is running it, the choice of default temporary directory "$TMP/winstone/<warFileBaseName>" is dangerous because two users trying to run the same app on the system will collide.

I suggest Winstone to use the "user.name" system property and do "$TMP/winstone/${user.name}/<warFileBaseName>

This is a trivial one line change in HostConfiguration.java line 223

Discussion

  • Rick Knowles

    Rick Knowles - 2007-08-02
    • status: open --> closed
     
  • Rick Knowles

    Rick Knowles - 2007-08-02

    Logged In: YES
    user_id=716353
    Originator: NO

    Fair point ... done.

    I'll have to put a release not to announce that it changed. Someone please remind me if I forget.

     

Log in to post a comment.