13 lines
274 B
Text
13 lines
274 B
Text
#
|
|
# This script fixes group owner in some files.
|
|
#
|
|
case "${ACTION}" in
|
|
post)
|
|
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
|
|
;;
|
|
esac
|