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

Permission denied running build with unset TMPDIR #1510

Open
mikedlr opened this issue Dec 24, 2024 · 0 comments
Open

Permission denied running build with unset TMPDIR #1510

mikedlr opened this issue Dec 24, 2024 · 0 comments
Labels

Comments

@mikedlr
Copy link

mikedlr commented Dec 24, 2024

What happened?

mikedlr@kinga:~/dev/devpod/devpod$ ./hack/rebuild.sh
[INFO] Building for linux/amd64
[INFO] Building for linux/arm64
[INFO] Building for windows/amd64
[INFO] Building for darwin/amd64
[INFO] Building for darwin/arm64
[INFO] Built binaries for all platforms in test/ directory
[sudo] password for mikedlr:
[INFO] Built devpod binary and moved to /usr/local/bin
[INFO] Copied binaries to desktop/src-tauri/bin
mkdir: cannot create directory ‘/devpod-cache’: Permission denied

What did you expect to happen instead?

mikedlr@kinga:~/dev/devpod/devpod$ ./hack/rebuild.sh
[INFO] Building for linux/amd64
[INFO] Building for linux/arm64
[INFO] Building for windows/amd64
[INFO] Building for darwin/amd64
[INFO] Building for darwin/arm64
[INFO] Built binaries for all platforms in test/ directory
[INFO] Built devpod binary and moved to /usr/local/bin
[INFO] Copied binaries to desktop/src-tauri/bin
[INFO] Copied binaries to /tmp/devpod-cache

How can we reproduce the bug? (as minimally and precisely as possible)

unset TMPDIR
./hack/rebuild.sh 

Local Environment:

  • DevPod Version: ./hack/rebuild.sh
  • Operating System: ubuntu
  • ARCH of the OS: AMD64

DevPod Provider:

  • Local/remote provider: docker | ssh

Anything else we need to know?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant