2010-04-15 03:53:44 +02:00
|
|
|
#
|
|
|
|
# This script takes care about perms in required dirs.
|
|
|
|
#
|
|
|
|
case "${ACTION}" in
|
|
|
|
post)
|
2011-03-05 01:11:49 +01:00
|
|
|
if [ ! -d var/log/gdm ]; then
|
|
|
|
mkdir -p var/log/gdm
|
|
|
|
chown root:gdm var/log/gdm
|
|
|
|
fi
|
|
|
|
chown gdm:gdm var/lib/gdm > /dev/null
|
|
|
|
chown -R gdm:gdm var/lib/gdm/.gconf.mandatory
|
2010-04-15 03:53:44 +02:00
|
|
|
;;
|
|
|
|
esac
|