Re: dpkg-statoverride vs. suidmanager
Previously Joey Hess wrote:
> That's the best I can think of too. I wonder how hard this will be to do
> and if it will be small enough to go in the postinst or if it should be
> an external program in suidmanager or dpkg.
This works for me:
pkg=smbfs
grep "^$pkg\>" /etc/suid.conf | ( \
while read spkg file user group mode ; do \
if [ "$spkg" != "$pkg" ] ; then \
dpkg-statoverride --add $user $group $mode $file ; \
fi ; \
suidunregister $file ; \
done \
)
Wichert.
>
--
________________________________________________________________
/ Generally uninteresting signature - ignore at your convenience \
| wichert@cistron.nl http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
Reply to: