2010-04-23 15:31:29 +02:00
|
|
|
#
|
|
|
|
# This script fixes group owner in some files.
|
|
|
|
#
|
|
|
|
case "${ACTION}" in
|
|
|
|
post)
|
2012-12-19 14:49:46 +01:00
|
|
|
set +e
|
|
|
|
# Do not fail if chgrp fails (probably due to permissions).
|
|
|
|
for f in wall write; do
|
|
|
|
chgrp tty usr/bin/${f} || \
|
|
|
|
echo "WARNING: failed to change ${f}(1) group to tty."
|
2012-12-19 15:49:44 +01:00
|
|
|
chmod 2755 usr/bin/${f}
|
2012-12-19 14:49:46 +01:00
|
|
|
done
|
2010-04-23 15:31:29 +02:00
|
|
|
;;
|
|
|
|
esac
|