Re: apt-get --reinstall ...
On Fri, 25 Jan 2002, Cord Beermann wrote:
> Hi.
>
> Due some accident with a (bad) third-party software-installation
> script a Debian-system has suffered a chown -R $foo /
>
> now i'd tried to reconstruct as many rights as possible with a
>
> dpkg --get-selections |grep install |awk '{print $1}' |
> xargs apt-get --reinstall install
>
> (ok, that line just to make clear what i mean)
>
> the problem: directories were not changed back to the correct
> permissions, caused by the behaviour of GNU tar.
dpkg has internal tar extraction support. If it is not restoring directory
permissions, than that is bug. However, I doubt this, as that part of the
code is straightforward.
Reply to: