[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: File permissions messed up in /var and /tmp



El sáb, 10-11-2007 a las 12:04 -0800, Andrew Sackville-West escribió:
> On Sat, Nov 10, 2007 at 02:34:34PM -0300, Gabriel Parrondo wrote:
> > El vie, 09-11-2007 a las 09:31 -0800, Andrew Sackville-West escribió:
> > > On Thu, Nov 08, 2007 at 10:06:55PM -0300, Gabriel Parrondo wrote:
> > > > 2007/11/8, Andrew Sackville-West <andrew@farwestbilliards.com>:
> > > > > 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
> > > > >
> > > > 
> > > > Hi, thanks for the quick response.
> > > > 
> > > > I remember that post. I just looked at it but couldn't find the mail
> > > > with the attachement, do you think you can send it to me? (maybe to my
> > > > personal for not duplicating it on the list). I only need the /var
> > > > tree.
> > > 
> > > I'll send it again offlist.
> > 
> > Thanks, I just received it.
> > 
> > Anyway, after manually fixing all the permissions I could with your file and some other references, 
> > I decided to reinstall... my system needed to be cleaned anyway.
> 
> did the permissions fix-up help? IOW, was it working after doing this?
> just curious.

Yes, most things got fixed (I googled some permissions and copied some
from a non-debian system I have, besides the file you sent me), but many
other things didn't. For example, in GNOME the windows didn't have the
minimize/maximize/close buttons and the fonts were huge.


-- 
Gabriel Parrondo
GNU/Linux User #404138
GnuPG Public Key ID: BED7BF43
JID: gabrielp@xmpp.us

"The only difference between theory and practice is that, in theory, there's no difference between theory and practice."

Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente


Reply to: