On Thu, Nov 08, 2007 at 08:33:45PM -0300, Gabriel Parrondo wrote: > Hello, > > I ran 'chmod -R o-rwx .*' in /root and all permissions in /var and > /tmp got messed up (good luck I cancelled it before it could do more > damage). I manually fixed some permissions so I could at least have a > working environment to fix everything, but I don't know what the > permissions should be in most files... >
don't sweat /tmp. it should fix itself up in a reboot. If not, then probably you can just rm everything in there and reboot again and it should be good. > Is there a way to restore all the permissions in /var? At least on > those files that are installed by the package manager; I think I can > just delete the other files and they'll be created again by their > programs. recently (in say the last month) tom arnall had this problem and I posted an attachment with all the non root:root file in my /var. hth A
signature.asc
Description: Digital signature