fix chown
1 parent 4101bbf commit ce275bf037bdd57b9f23f5d009608b84eb93d945
@kbkn kbkn authored on 31 Mar 2021
Showing 1 changed file
View
2
■■■
Dockerfile
echo "$USERNAME ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/$USERNAME && \
chmod 0440 /etc/sudoers.d/$USERNAME && \
# Replace 1000 with your user/group id
usermod --uid 1000 $USERNAME && \
groupmod --gid 1000 $USERNAME
groupmod --gid 1000 $USERNAME && \
chown -Rf $USERNAME.$USERNAME /home/$USERNAME
 
# Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Failed to execute child process dbus-launch (No such file or directory)
# fix by setting LANG https://askubuntu.com/questions/608330/problem-with-gnome-terminal-on-gnome-3-12-2