-
Notifications
You must be signed in to change notification settings - Fork 390
Failure writing temporary files in MacOS X's /var/folders #3576
Copy link
Copy link
Closed
Milestone
Description
Hi, after upgrading to opam 2.0.0, I get fatal couldn't create cache file '/var/folders/...' and unable to open output file '/var/folders/...' errors on MacOS 10.11.1 for many packages (e.g. ocamlfind, ocamlbuild, camlp5, ...). This is apparently due to sandboxing permissions, since, if I add the line add_mounts rw "/var/folders/my/local_cryptic_name_folder to sandbox.sh, it stops failing. However, I have no idea what is the right thing to do. Do you have an idea whether this is a problem of configuration specifically on my installation or an opam-level problem? For instance, what are the policies wrt temporary files, their location, and there permissions?
opam config report gives:
# opam config report
# opam-version 2.0.0
# self-upgrade no
# system arch=x86_64 os=macos os-distribution=homebrew os-version=10.11.1
# solver builtin-mccs+glpk
# install-criteria -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria -removed,-count[version-lag,solution],-new
# jobs 4
# repositories 5 (http), 1 (local), 2 (version-controlled) (default repo at d25a75a2)
# pinned 0
# current-switch 4.06.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels