On Wed, 25 Oct 2006 09:36:56 -0500 Frank Sorenson <[EMAIL PROTECTED]>
writes:
> I'd look into writing something that takes the output of:
> rpm -qa --queryformat "[%{FILENAMES} %{FILEMODES:perms}\n]"
>
> which looks like this:
> /usr/share/a2ps/encoding/iso1.edf -rw-r--r--
> /usr/share/a2ps/encoding/iso10.edf -rw-r--r--
> /usr/share/a2ps/encoding/iso13.edf -rw-r--r--
> ...
>
> and fixes the permissions as necessary.
>
> Oh, wait. You've got Debian? Well, since .deb is so much better
> than
> rpm, I'm sure there's an equivalent functionality.
>
> Frank
Does anyone know which files in /etc would object to being reset to 0644?
Already had to fix SSH because it didn't like its keys being viewable to
everybody.
Thanks!
/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/