You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using devpod with the ssh-provider works nicely for a single user, however when multiple users try to use the same server, permission issues are encountered as files in the /tmp/ directory will be owned by the user who first created a devcontainer.
The first issue occurs when the devpod agent is installed on the server: debug Inject Error: Error: failed to install devpod
Above can be circumvented by setting AGENT_PATH=./tmp/devpod/agent to ensure ownership of the agent for each user. However, when adding features to the devcontainer the issue reappears, devpod seemingly does not provide a way to override below path. info mkdir /tmp/devpod/features: permission denied
What did you expect to happen instead?
I expect devpod to handle multiple users on the same server by default.
How can we reproduce the bug? (as minimally and precisely as possible)
Create two ssh providers with the same host but for two different users
Create a devpod for the first user, this should work
Create a devpod for the second user, issue1 should occur
Modify the ssh providers with AGENT_PATH=./tmp/devpod/agent and observe that both devpods can now be created
Add a feature to the devcontainer
Create a devpod for the first user, this should work
Create a devpod for the second user, issue2 should occur
Local Environment:
DevPod Version: 0.5.4
Operating System: linux
ARCH of the OS: AMD64
DevPod Provider:
Local/remote provider: ssh
Anything else we need to know?
My current workaround is to set both AGENT_PATH in devpod and add TMPDIR to AcceptEnv in the sshd config and have the users pass TMPDIR=~/tmp in their ssh config.
The text was updated successfully, but these errors were encountered:
What happened?
Using devpod with the ssh-provider works nicely for a single user, however when multiple users try to use the same server, permission issues are encountered as files in the /tmp/ directory will be owned by the user who first created a devcontainer.
The first issue occurs when the devpod agent is installed on the server:
debug Inject Error: Error: failed to install devpod
Above can be circumvented by setting AGENT_PATH=./tmp/devpod/agent to ensure ownership of the agent for each user. However, when adding features to the devcontainer the issue reappears, devpod seemingly does not provide a way to override below path.
info mkdir /tmp/devpod/features: permission denied
What did you expect to happen instead?
I expect devpod to handle multiple users on the same server by default.
How can we reproduce the bug? (as minimally and precisely as possible)
Local Environment:
DevPod Provider:
Anything else we need to know?
My current workaround is to set both AGENT_PATH in devpod and add TMPDIR to AcceptEnv in the sshd config and have the users pass TMPDIR=~/tmp in their ssh config.
The text was updated successfully, but these errors were encountered: