void-packages/srcpkgs/sudo/INSTALL
2010-10-22 21:00:07 +02:00

13 lines
296 B
Text

#
# This script sets up correct perms for /etc/sudoers.
#
case "${ACTION}" in
post)
if [ -f etc/sudoers ]; then
echo "Setting up permissions to /etc/sudoers..."
chmod 0440 etc/sudoers
fi
chmod 4111 usr/bin/sudo usr/bin/sudoedit
[ ! -d etc/sudoers.d ] && install -d etc/sudoers.d
;;
esac