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

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

Open
carstenhag opened this issue Apr 2, 2024 · 1 comment

Comments

@carstenhag
Copy link

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
@carstenhag
Copy link
Author

Unfortunately I can't get it working, I will try to solve it in a different way, without jenv. But I guess I won't further update this ticket.

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

No branches or pull requests

1 participant