util-linux: v2: set proper perms to wall/write.

This commit is contained in:
Juan RP 2012-12-19 15:49:44 +01:00
parent 68f7fc8383
commit e7473f6c0b
2 changed files with 2 additions and 2 deletions

View file

@ -8,6 +8,7 @@ post)
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

View file

@ -1,7 +1,7 @@
# Template file for 'util-linux'
pkgname=util-linux
version=2.22.2
revision=2
revision=3
depends="coreutils shadow>=4.1.5.1_3"
makedepends="pkg-config zlib-devel ncurses-devel pam-devel"
replaces="util-linux-ng>=0 e2fsprogs<=1.41.14_1 eject>=0 shadow<4.1.5.1_3"
@ -52,7 +52,6 @@ do_install() {
# Correct perms for newgrp, chfn, chsh, wall and write.
chmod u+s $DESTDIR/usr/bin/{newgrp,chsh,chfn}
chmod g+s $DESTDIR/usr/bin/{wall,write}
# pam login utils.
vinstall $FILESDIR/login.pam 644 etc/pam.d login