void-packages/srcpkgs/util-linux/INSTALL

18 lines
387 B
Plaintext

#
# 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
if [ -d usr/sbin -a ! -L usr/sbin ]; then
ln -s ../bin/nologin usr/sbin/nologin
fi
;;
esac