14 lines
300 B
Text
14 lines
300 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."
|
|
chmod 2755 usr/bin/${f}
|
|
done
|
|
;;
|
|
esac
|