2010-04-15 03:53:44 +02:00
|
|
|
#
|
|
|
|
# This script takes care about perms in required dirs.
|
|
|
|
#
|
|
|
|
case "${ACTION}" in
|
|
|
|
post)
|
2011-03-02 16:48:12 +01:00
|
|
|
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
|
2010-04-15 03:53:44 +02:00
|
|
|
chown -R root:gdm var/lib/gdm/.gconf.mandatory
|
|
|
|
;;
|
|
|
|
esac
|