Skip to content

Issue with /tmp/.sbt/ipcsocket directory permission on a multi-user environment #40

@MatteCarra

Description

@MatteCarra

When running for example sbtn on a given user, a temp '/tmp/.sbt/ipcsocket ' directory will be created and it will be owned by that user.
Any other user will be unable to run sbtn, because he will not have write permission on that folder.
The temp folder should be something like /tmp/.sbt-$USER/ipcsocket to avoid these kinds of issues.
The culprit is in https://github.com/sbt/ipcsocket/blob/ee3439303e592846168a3b18f23358d3c6665949/src/main/java/org/scalasbt/ipcsocket/NativeLoader.java

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions