Skip to content
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

Fix "permission denied" bug for multi-user systems #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pozdneev
Copy link

On a multi-user system Eclipse might report a "permission denied"
message for a pom.xml file. This is known to be caused by
a workaround in mavenarchiver. For more details, see
https://dev.eclipse.org/mhonarc/lists/m2e-users/msg04160.html

mavenarchiver creates a directory fakerepo/ in ${"java.io.tmpdir"}
with 755 permissions in Linux. As a result, other users will not be
able to write to this directory.

This changset fixes the issue by assigning a unique fake repo
directory for a user based on ${"user.name"}.

The corresponding issue is #10.

On a multi-user system Eclipse might report a "permission denied"
message for a pom.xml file. This is known to be caused by
a workaround in mavenarchiver. For more details, see
https://dev.eclipse.org/mhonarc/lists/m2e-users/msg04160.html

mavenarchiver creates a directory "fakerepo/" in ${"java.io.tmpdir"}
with 755 permissions in Linux. As a result, other users will not be
able to write to this directory.

This changset fixes the issue by assigning a unique fake repo
directory for a user based on ${"user.name"}.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant