CHMOD Big Oops!

David D Turley turley at
Wed Oct 25 18:07:25 MDT 2006

On Wed, 25 Oct 2006 09:36:56 -0500 Frank Sorenson <frank at>
> 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


More information about the PLUG mailing list