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
|
2011-03-08 17:00:17 +01:00
|
|
|
[ ! -d var/cache/gdm ] && mkdir -p var/cache/gdm
|
2011-03-05 01:11:49 +01:00
|
|
|
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
|