halcyon / asdf-java

A Java plugin for asdf-vm.
MIT License
466 stars 86 forks source link

Create cache dir for currently logged in user #211

Closed jarmo closed 1 year ago

jarmo commented 1 year ago

In a multi user environment it's possible that some other user has already created CACHE_DIR with its own permissions breaking this plugin. Add currently logged in user name into CACHE_DIR directory name so that it would be user specific and have correct permissions for every user