lost access to local directories (/Users/<user>/) after changing shell and rebooting the vm #2185
Closed
thatportugueseguy
started this conversation in
General
Replies: 1 comment
-
This doesn't happen after a shutdown, i'm guessing rebooting skips this step: INFO[0007] [hostagent] Mounting "/Users/ze" on "/Users/ze" Also, starting and stopping a rebooted vm seems to fix the original issue. I think this is closed until it's fixed. Going to open an issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am trying to configure a debian 11 vm on my machine (macbook pro m3) and when i changed the default shell and rebooted the vm i lost access to my system's files.
I.e. from the beginning i could access files in my machine in
/Users/ze
and even do stuff like symbolic links from/home/ze.linux
(~) to it.I have changed the default shell with
sudo chsh -s `which zsh` ze sudo reboot
And on the next login i had the correct shell, but now
/Users/ze
is empty:lima-debian% ls -la /Users/ze total 8 drwxr-xr-x 2 ze ze 4096 Feb 5 17:22 . drwxr-xr-x 3 root root 4096 Feb 5 17:22 ..
Why did this happen? I can't think of anything else i'd have done to cause this.. Can i regain access to the files?
Update: it seems that
reboot
does it. Minimal reproduction is just:INFO[0007] READY. Run `limactl shell debian` to open the shell. $ limactl shell debian ze@lima-debian:/Users/ze/Projects$ sudo reboot $ limactl shell debian bash: line 1: cd: /Users/ze/Projects: No such file or directory ze@lima-debian:/Users/ze$
Thanks
Beta Was this translation helpful? Give feedback.
All reactions