Possible Duplicate:
Accidential CHMOD 755
Like other questions lurking around here, e.g. this one and another, I've made a boo-boo. Specifically, I ran a command, in /
, while rooted, like so:
chown -R 770 x:x *
Where x
was apache
(I think! Maybe I was experimenting with nobody
, or somebody else). Similar to others I almost immediately noticed and killed the job but it seems too little too late.
My problem diverges from the existing ones at the point that I was setting selinux to permissive
and stupidly decided to reboot "to prove it". Now I can't boot - the screen remains black while the cursor is a constant loading animation post-GRUB selection.
I've tried booting into 'recovery mode' which sounds hopeful though loses its promise when I follow the instruction to return to default mode (naturally) since (probably among other reasons) "etc/audit/somethingOrOther
is not owned by root" and I'm back to perpetual loading.
Obviously I need to fix the system before returning to default mode. Can this be done from the recovery console (preferably easily)?
This isn't my day to day system and I don't have backups; it's been set up for a very specific, rare purpose and it's not the end of the world (there is no valuable data lost with it, if it's a lost cause), I was just hoping to proceed with what I was doing today.