2009-05-04 21:58:22 +00:00
|
|
|
#
|
2009-12-11 11:06:41 +00:00
|
|
|
# This script fixes permissions for dbus-daemon-launch-helper.
|
2009-05-04 21:58:22 +00:00
|
|
|
#
|
2009-12-11 11:06:41 +00:00
|
|
|
dbus_launch=usr/libexec/dbus-daemon-launch-helper
|
2009-05-04 21:58:22 +00:00
|
|
|
|
|
|
|
case "${ACTION}" in
|
|
|
|
post)
|
2011-08-14 08:57:05 +00:00
|
|
|
[ ! -d var/lib/dbus ] && install -d var/lib/dbus
|
2011-08-12 07:27:10 +00:00
|
|
|
[ ! -d etc/dbus-1/session.d ] && install -d etc/dbus-1/session.d
|
2009-05-04 21:58:22 +00:00
|
|
|
chown root:dbus ${dbus_launch}
|
|
|
|
chmod 4750 ${dbus_launch}
|
|
|
|
;;
|
|
|
|
esac
|