Skip to content

Commit

Permalink
Update 101-fix-gdm-path.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkobrombin authored Sep 22, 2024
1 parent dc79886 commit 311a0a5
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions includes.container/usr/share/init.d/101-fix-gdm-path.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
#!/bin/bash

echo "Fixing GDM path permissions"
chmod -R 751 /var/lib/gdm3/
if [ ! -f /var/init.lock.d/101-fix-gdm-path ]; then
echo "Fixing GDM path permissions"
chown -R Debian-gdm:Debian-gdm /var/lib/gdm3/
chmod -R 751 /var/lib/gdm3/
mkdir -p /var/init.lock.d/
touch /var/init.lock.d/101-fix-gdm-path
else
echo "GDM path fix already applied."
fi

0 comments on commit 311a0a5

Please sign in to comment.