Published: 2012-Jun-13 09:34

Ubuntu rage... learning curve.

Last night Update manager turned up with a new kernel, so I had it install that. Then both of us went to sleep. This morning I was greeted by a odd looking box that would not responde (even to Alt+c):

Failed to create file '/tmp/gconf-test-locking-file-G46KFW

"Oh Ubuntu! What have you done now?" I imagined my days productivity crashing to zero.

Alt+F1  (to get a terminal)
Login    (at the prompt)
ls -la /tmp


drwxr-xr-x 11 root  root 12288 2012-06-13 10:20 .
drwxr-xr-x 22 root  root   4096 2012-06-06 13:08 ..

sudo chmod 777 /tmp
sudo /etc/init.d/gdm restart

and before I had time to even make my first cup of tea my lovely green Gnome with openbox turned up.

I will admit that I was compiling and patching things in /tmp yesterday and I may have needlessly done some of that as root, (those that know better still die by the sword), and as

sudo cat /var/log/gdm/:0-greeter.log

does not say who changed the permissions on the /tmp directory I'm not admiting culpability... though it was probably me.

What I don't get is this; gdm runs as root, so why doesn't it check for sensible permissions on /tmp ?