Re: /tmp/.ICE-unix



> I just found an annoying issue that adds 5 seconds to your login
> time. If you are seeing the message "mkdir: owner of /tmp/.ICE-unix
> should be set to root" then try chowning that directory to root. 
> 
> Otherwise gnome-session hits this code path in libICE:
> 
>             if (updateOwner && !updatedOwner) {
>                 PRMSG(1, "mkdir: Owner of %s should be set to root\n",
>                       path, 0, 0);
>                 sleep(5);
>             }
>             if (updateMode && !updatedMode) {
>                 PRMSG(1, "mkdir: Mode of %s should be set to %04o\n",
>                       path, mode, 0);
>                 sleep(5);
>             }
> 
> Anyway, both of my machines had a non-root owner for .ICE-unix. I
> don't know how this happens, what the perms are supposed to be, or in
> general have any idea at all what is going on. But chowning manually
> seems to fix it.
> 
> Anyone know what is going on here? Presumably it's a security issue in
> addition to causing a sleep(5)...

If its a security issue sleep(5) is inappropriate it shgould be exit(1)

_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers




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