[nzlug] OS File Permission issue (chown -R root.root ../) debian

Jim Cheetham jim at gonzul.net
Wed Jun 20 09:54:23 NZST 2007


On 20/06/07, Simon <greminn at gmail.com> wrote:
> So i was in my /root/ directory and put just one too many "."s in
> the line... Now i have a lot of files that i own!!

To a certain extent, apt-get  --reinstall on everything. Where
"everything" should be defined by the contents of /var/lib/dpkg/info/

Of course that probably has a couple of extra unwanted side-effects,
but nothing as bad as invalidating the permissions on your ssh server
keys, etc.

-jim



More information about the NZLUG mailing list