Resetting ownership
I accidentally chowned my whole filesystem to nobody:nogroup.
Stupid, I know. I'm wondering if apt keeps a copy of the perms it set during installs like RPM does? If not, is there any other way to restore the perms easily? If not, does anyone have a quick screenshot of their root level perms on Debian Hardy? I can at least start with a chown -R of the top level dirs and see how close that gets me. |
Debian Hardy? "Hardy" is Ubuntu, not Debian.
|
Reinstalling the packages should fix most of the file ownership problems.
Something like the following could work: Code:
sudo apt-get install --reinstall `dpkg -l | grep ^ii | awk '{ print $2 }'` |
All times are GMT -5. The time now is 12:29 PM. |