New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Insecure temporary directory name #111

sebek64 opened this Issue Jan 6, 2014 · 2 comments


None yet
2 participants

sebek64 commented Jan 6, 2014

The plugin creates /tmp/nb-gradle-plugin/ directory. However, in multi-user environment, this directory is owned by the first user and the others cannot create files in it, leading to the exception:

Failed to load Gradle project: test Permission denied
at Method)
at org.netbeans.gradle.model.util.StringAsFileRef.tryCreateRef(
at org.netbeans.gradle.model.util.StringAsFileRef.createRef(
at org.netbeans.gradle.model.GenericModelFetcher.getModels(
at org.netbeans.gradle.project.model.NbGradle18ModelLoader.loadModels(
at org.netbeans.gradle.project.model.GradleModelLoader.loadModelWithProgress(
at org.netbeans.gradle.project.model.GradleModelLoader.access$200(
at org.netbeans.gradle.project.model.GradleModelLoader$
at org.netbeans.gradle.project.tasks.GradleDaemonManager.runNonBlockingGradleTask(
at org.netbeans.gradle.project.tasks.GradleDaemonManager.access$100(
at org.netbeans.gradle.project.tasks.GradleDaemonManager$
at org.netbeans.gradle.project.tasks.GradleDaemonManager$
at org.openide.util.RequestProcessor$
at org.openide.util.RequestProcessor$


This comment has been minimized.


kelemen commented Jan 6, 2014

Thank you for reporting, this should be fixed in the master branch. It would be nice if you could confirm it. If you can't, I plan to have a new release this week.

@kelemen kelemen closed this Jan 6, 2014


This comment has been minimized.

sebek64 commented Jan 6, 2014

Thank you for fast reply. I don't need the fix so quickly, so I'll wait for the release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment