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

apt-get --reinstall ...



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.

So now: I can break a lot of packages by setting wrong
owners/groups/permissions on directories. Is there a way besides
removing completly and installing again, to re-establish the correct
ownerships? (try that with the base-files-Package)

maybe *.list should contain rights and owner/group-information?


Cord

PS: .sig choosen randomly
-- 
Cord Beermann   cord@Wunder-Nett.org (Privat)

If you really think there's a bug you should report a bug. Maybe you're not
using it properly. Have you ever considered that?  -- Bill Gates

Attachment: pgpgR9sps1mDo.pgp
Description: PGP signature


Reply to: