19 lines
441 B
Plaintext
19 lines
441 B
Plaintext
#
|
|
# This script takes care about perms in required dirs.
|
|
#
|
|
case "${ACTION}" in
|
|
post)
|
|
chmod 1770 var/gdm
|
|
chown root:gdm var/gdm
|
|
chmod 0711 var/run/gdm
|
|
chown root:gdm var/run/gdm
|
|
chmod 0755 var/run/gdm/greeter
|
|
chown gdm:gdm var/run/gdm/greeter
|
|
chmod 0755 var/lib/gdm/.config/dconf
|
|
chown gdm:gdm var/lib/gdm/.config/dconf
|
|
chmod 1755 var/cache/gdm
|
|
chown root:gdm /var/cache/gdm
|
|
chown -R root:gdm var/lib/gdm/.gconf.mandatory
|
|
;;
|
|
esac
|