So I did a dumb thing, I chowned /var
to a single user and now I am getting errors everywhere,I had to add permissions so that mysql and lighthttpd would start, any easy way to revert changes or must I manually revert changes ?
I am getting errors like fopen: Permission denied
when i run apt-get .
The above error can be fixed by running sudo chown -R man:root /var/cache/man
Chown it back to root. Then ask the httpd question elsewhere.