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
Describe the bug
For package management and settings, I used Nix home-manager. I setup daytona with proper configs and the workspace but on opening a workspace, it gives a ssh config file permission denied error.
To Reproduce
Steps to reproduce the behavior:
Setup daytona git-provider with gitea (forgejo v7 self-hosted)
Setup daytona provider as docker-local
Setup daytona target as docker-local (previously added)
1 warning found (use docker --debug to expand):
sample-astro-tail... | - InvalidDefaultArgInFrom: Default value for ARG $BASE_IMAGE results in empty or invalid base image name (line 4)
The workspace gets created but daytona is unable to open the workspace and gives the error: FATA[1333] open /home/myuser/.ssh/config: permission denied
Expected behaviour
Expectation is to have NO docker related warnings, NO permission errors to have read access to ssh config file and NO write access to SSH config file needed.
Desktop (please complete the following information):
OS: (Win11 + WSL2) Ubuntu 22.04
Docker desktop (using WSL2 bindings) v4.37.1
Nix home-manager v24.05
Daytona Version: v0.50.0
Additional context
myuser is the WSL2 Ubuntu user with sudo privileges.
I don't have VS Code installed but I use VSCodium. Whether, I select VS Code or Terminal SSH in the default daytona ide, I get the same ssh config permission denied error.
Using Nix home-manager to manage SSH settings, it creates a chain of symlinks to another file inside Nix directory lrwxrwxrwx 1 myuser myuser /home/myuser/.ssh/config -> /nix/store/xyzhash-home-manager-files/.ssh/config lrwxrwxrwx 2 root root /nix/store/xyzhash-home-manager-files/.ssh/config -> /nix/store/abchash-hm_.sshconfig -r--r--r-- 3 root root /nix/store/abchash-hm_.sshconfig
The text was updated successfully, but these errors were encountered:
Describe the bug
For package management and settings, I used Nix home-manager. I setup daytona with proper configs and the workspace but on opening a workspace, it gives a ssh config file permission denied error.
To Reproduce
Steps to reproduce the behavior:
daytona create
and select sample project:sample-astro-tailwind-restaurant
gives warnings like:FATA[1333] open /home/myuser/.ssh/config: permission denied
Expected behaviour
Expectation is to have NO docker related warnings, NO permission errors to have read access to ssh config file and NO write access to SSH config file needed.
Desktop (please complete the following information):
Additional context
myuser
is the WSL2 Ubuntu user with sudo privileges.daytona ide
, I get the same ssh config permission denied error.lrwxrwxrwx 1 myuser myuser /home/myuser/.ssh/config -> /nix/store/xyzhash-home-manager-files/.ssh/config
lrwxrwxrwx 2 root root /nix/store/xyzhash-home-manager-files/.ssh/config -> /nix/store/abchash-hm_.sshconfig
-r--r--r-- 3 root root /nix/store/abchash-hm_.sshconfig
The text was updated successfully, but these errors were encountered: