Description
I started to play around with this project, everything went smoothly 👍
I then noticed that the Terminal showed "root" as user which I don't really like cause I was deploying it on my own server, not some kind of DigitalOcean server. So I created its own user "coder", defined it in the service file and restarted the service.
I then ran into permission issues (as expected), so I changed the ownership of the "user-data-dir" and of the "code-server" folder itself which solved the main problem (HTTP Response Code 500). I then wanted to check the Console and noticed that "/bin/bash" exits with exit code 1.
In the logs I see that "scandir" also has permission issues of path "/root".
How can I fix this issue, or how can I reconfigure code-server to use the newly created user?
I am running on Ubuntu Server and followed this tutorial but adopted it for my particular installation as I am not using DigitalOcean.