#!/bin/sh set -e if [ "$1" = "configure" ] ; then if [ -f /etc/glance/rootwrap.conf ] ; then chown root:root /etc/glance/rootwrap.conf fi if [ -d /etc/glance/rootwrap.d ] ; then chown -R root:root /etc/glance/rootwrap.d chmod 0755 /etc/glance/rootwrap.d fi if [ -f /etc/sudoers.d/glance_sudoers ] ; then chmod 0440 /etc/sudoers.d/glance_sudoers fi fi exit 0