diff --git a/mate/root/etc/cont-init.d/60-create-user b/mate/root/etc/cont-init.d/60-create-user index 4f09ebc..b79b13e 100644 --- a/mate/root/etc/cont-init.d/60-create-user +++ b/mate/root/etc/cont-init.d/60-create-user @@ -13,6 +13,7 @@ chown -R ${USERNAME}:${USERNAME} /home/${USERNAME} chmod 755 /etc chmod 755 /etc/xrdp chmod 755 /etc/xrdp/sesman.ini + touch /home/${USERNAME}/lock.file # default file copies first run @@ -24,4 +25,4 @@ touch /home/${USERNAME}/lock.file # permissions PERM=$(stat -c '%U' /home/${USERNAME}/.config) [[ "${PERM}" != "${USERNAME}" ]] && \ - chown -R ${USERNAME}:${USERNAME} /config + chown -R ${USERNAME}:${USERNAME} /home/${USERNAME} diff --git a/xfce/root/etc/cont-init.d/60-create-user b/xfce/root/etc/cont-init.d/60-create-user index 4f09ebc..b79b13e 100644 --- a/xfce/root/etc/cont-init.d/60-create-user +++ b/xfce/root/etc/cont-init.d/60-create-user @@ -13,6 +13,7 @@ chown -R ${USERNAME}:${USERNAME} /home/${USERNAME} chmod 755 /etc chmod 755 /etc/xrdp chmod 755 /etc/xrdp/sesman.ini + touch /home/${USERNAME}/lock.file # default file copies first run @@ -24,4 +25,4 @@ touch /home/${USERNAME}/lock.file # permissions PERM=$(stat -c '%U' /home/${USERNAME}/.config) [[ "${PERM}" != "${USERNAME}" ]] && \ - chown -R ${USERNAME}:${USERNAME} /config + chown -R ${USERNAME}:${USERNAME} /home/${USERNAME}