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

/usr/lib/tar: Permission denied #5650

Closed
ShalokShalom opened this issue Sep 4, 2023 · 3 comments
Closed

/usr/lib/tar: Permission denied #5650

ShalokShalom opened this issue Sep 4, 2023 · 3 comments
Projects
Milestone

Comments

@ShalokShalom
Copy link

  1. I installed both opam and ocaml on Arch via the official repositories.

  2. I run opam init

/usr/bin/opam: "create_process" failed on /usr/lib/tar: Permission denied

Additional info:

╰─λ opam config report
# opam config report
# opam-version         2.1.5
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=garuda os-version=soaring
[ERROR] Opam has not been initialised, please run `opam init'
# read-state           OpamStd.OpamSys.Exit(50)

@ShalokShalom
Copy link
Author

I had my /usr/lib on PATH, removing that worked.

@rjbou
Copy link
Collaborator

rjbou commented Sep 4, 2023

It is the same issue than #5585 & #5597. A PR is open with a fix #5606.

@ShalokShalom
Copy link
Author

Oh, thanks. And I thought it was only my fault 😋

@rjbou rjbou added this to the 2.2.0~alpha3 milestone Sep 26, 2023
@rjbou rjbou added this to For alpha3 in Opam 2.2.0 Sep 26, 2023
@rjbou rjbou moved this from For alpha3 to Done in Opam 2.2.0 Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Opam 2.2.0
  
Done
Development

No branches or pull requests

2 participants