ref: 9d4279fcbbfc13812567920a646bc835fd7496ec
parent: 7ab81661f913653ac04755a8c4505ce82e9d96a3
author: Filip Sufitchi <[email protected]>
date: Wed Feb 9 17:15:06 EST 2022
Ensure the docker user actually owns their own local files
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -32,3 +32,7 @@
RUN chsh $USERNAME -s /bin/bash
USER $USERNAME
+
+# Make sure we actually own our own local share stuff
+RUN mkdir -p /home/$USERNAME/.local/share && \
+ chown -R $USERNAME:$USERNAME /home/$USERNAME/.local