Skip to content

Azure DevOps: Running jenv results in mkdir "/.jenv/plugins" permissions denied error #127

@carstenhag

Description

@carstenhag

I'll try to figure it out, I guess there need to be more instructions for DevOps runners

Logs:

##[debug]script=eval "$(jenv init -)"
jenv global 17
##[debug]workingDirectory=/__w/37/s
##[debug]check path : /__w/37/s
Generating script.
##[debug]Agent.Version=3.236.1
##[debug]agent.tempDirectory=/__w/_temp
##[debug]check path : /__w/_temp
========================== Starting Command Output ===========================
##[debug]which 'bash'
##[debug]found: '/usr/bin/bash'
##[debug]which '/usr/bin/bash'
##[debug]found: '/usr/bin/bash'
##[debug]/usr/bin/bash arg: --noprofile
##[debug]/usr/bin/bash arg: --norc
##[debug]/usr/bin/bash arg: /__w/_temp/b726b8ca-c4c8-4ad0-97cc-bb7456312617.sh
##[debug]exec tool: /usr/bin/bash
##[debug]arguments:
##[debug]   --noprofile
##[debug]   --norc
##[debug]   /__w/_temp/b726b8ca-c4c8-4ad0-97cc-bb7456312617.sh
/usr/bin/bash --noprofile --norc /__w/_temp/b726b8ca-c4c8-4ad0-97cc-bb7456312617.sh
mkdir: cannot create directory ‘/.jenv/plugins’: Permission denied
/.jenv/libexec/jenv-version-file-write: line 19: /.jenv/version: Permission denied

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