cd'ing to the project directory causes sail to fail
I'm building a Katacoda interactive tutorial for Sail however, I encountered a strange bug where:
- cd'ing to the directory causes a permission denied error, causing the command to fail
2019-05-23 14:49:25 INFO writing sail proxy logs to /tmp/sailproxy_ClarityCafe_Sagiri480131494
2019-05-23 14:49:46 INFO loaded code-server in 21.178520957s
2019-05-23 14:49:46 ERROR failed to wait for project to be online: container ClarityCafe_Sagiri not running
+ cd /home/user/Sagiri
bash: line 1: cd: /home/user/Sagiri: Permission denied
2019-05-23 14:49:46 ERROR build run failed: container ClarityCafe_Sagiri not running
This might be related to #176, and #48
For complete assurance of reproduction, use the official Ubuntu Playground by Katacoda.
What does id show for you? Seems like this may be related to #52
@nathanpotter for Katacoda, its UID/GID 0
It looks like it was not running chown... Can you try with a newer release?
Edit: Realized that this was not fixed. Should I draft a change for this?
Feel free to @roberthmiller, this will help us reach a greater audience if we can get this to work right now.
I am having the same issue. Is this going to be fixed in a future release ? Or can I use a workaround ?
I found the problem that caused this error on my side: I inadvertently installed docker and/or sail with root user. So I uninstalled and reinstalled with the correct user. Now it works fine.