Re: Restoring file permissions from package database?

2009-02-19 Thread Richard Lyons
On Wed, Feb 18, 2009 at 09:24:15AM -0500, Douglas A. Tutty wrote: On Wed, Feb 18, 2009 at 11:43:48AM +0100, Oliver Schneider wrote: [...] However, its a lot of work to go through each package individually. I know, its a lot of work either way. But you could write a bash script to do the

Re: Restoring file permissions from package database?

2009-02-18 Thread Oliver Schneider
Douglas, thanks! Some packages come with /etc files in the deb, others create the /etc files in their install script. To use the packages, you'd have to look in the deb for the files or in their scripts. To look into debs, I use midnight commander. Okay, but in any case there is nothing

Re: Restoring file permissions from package database?

2009-02-18 Thread Douglas A. Tutty
On Wed, Feb 18, 2009 at 11:43:48AM +0100, Oliver Schneider wrote: Douglas, thanks! Some packages come with /etc files in the deb, others create the /etc files in their install script. To use the packages, you'd have to look in the deb for the files or in their scripts. To look into

Restoring file permissions from package database?

2009-02-17 Thread Oliver Schneider
Hi, is there any way in Debian (4.0 or 5.0) to restore the file permissions - mainly of files inside /etc/ - from the cached packages or the package database or so? The only other chance I see - without reinstalling - would be to install all those packages into a dummy installation (e.g. in a

Re: Restoring file permissions from package database?

2009-02-17 Thread Douglas A. Tutty
On Wed, Feb 18, 2009 at 12:45:30AM +0100, Oliver Schneider wrote: is there any way in Debian (4.0 or 5.0) to restore the file permissions - mainly of files inside /etc/ - from the cached packages or the package database or so? The only other chance I see - without reinstalling - would be to