2010-04-23 13:31:29 +00:00
|
|
|
#
|
|
|
|
# This script fixes group owner in some files.
|
|
|
|
#
|
|
|
|
case "${ACTION}" in
|
|
|
|
post)
|
2012-12-19 13:49:46 +00: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."
|
|
|
|
done
|
2010-04-23 13:31:29 +00:00
|
|
|
;;
|
|
|
|
esac
|