[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg-statoverride vs. suidmanager



Wichert Akkerman wrote:
> This works for me:
>
> grep "^$pkg\>" /etc/suid.conf | ( \
>         while read spkg file user group mode ; do \
>                 if [ "$spkg" != "$pkg" ] ; then \
>                         dpkg-statoverride --add $user $group $mode $file ; \

I don't see how this can possibly work. It skips all "local" lines,
which are the only ones that need a statoverride. And how can this 'if'
possibly fire, you've just grepped for things starting with $pkg\>, and
now you require for the first word not to be $pkg.

-- 
see shy jo



Reply to: