util-linux: v2: set proper perms to wall/write.
This commit is contained in:
parent
68f7fc8383
commit
e7473f6c0b
2 changed files with 2 additions and 2 deletions
|
@ -8,6 +8,7 @@ post)
|
||||||
for f in wall write; do
|
for f in wall write; do
|
||||||
chgrp tty usr/bin/${f} || \
|
chgrp tty usr/bin/${f} || \
|
||||||
echo "WARNING: failed to change ${f}(1) group to tty."
|
echo "WARNING: failed to change ${f}(1) group to tty."
|
||||||
|
chmod 2755 usr/bin/${f}
|
||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'util-linux'
|
# Template file for 'util-linux'
|
||||||
pkgname=util-linux
|
pkgname=util-linux
|
||||||
version=2.22.2
|
version=2.22.2
|
||||||
revision=2
|
revision=3
|
||||||
depends="coreutils shadow>=4.1.5.1_3"
|
depends="coreutils shadow>=4.1.5.1_3"
|
||||||
makedepends="pkg-config zlib-devel ncurses-devel pam-devel"
|
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"
|
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.
|
# Correct perms for newgrp, chfn, chsh, wall and write.
|
||||||
chmod u+s $DESTDIR/usr/bin/{newgrp,chsh,chfn}
|
chmod u+s $DESTDIR/usr/bin/{newgrp,chsh,chfn}
|
||||||
chmod g+s $DESTDIR/usr/bin/{wall,write}
|
|
||||||
|
|
||||||
# pam login utils.
|
# pam login utils.
|
||||||
vinstall $FILESDIR/login.pam 644 etc/pam.d login
|
vinstall $FILESDIR/login.pam 644 etc/pam.d login
|
||||||
|
|
Loading…
Reference in a new issue