pictures and musings about our projects and passions

When in doubt, Repair Disk Permissions

When in doubt, Repair Disk Permissions

A few months ago, I discovered Urban Terror, a free (as in beer) FPS game based on the Quake3 Engine.  I’m not much of a gamer, so free is right in my price range. But seriously, I’m not a gamer: I play for about 15-20 minutes a day. And I have a kid. So I don’t actually have time to play every day.

At any rate, Urban Terror runs great on my little MacMini, at least it did until a month or so ago.  One day, I launched the app, my screen went black. And then nothing.  The application closed and my normal desktop returned.  Huh. That’s weird. Launch again. Ditto.  Okay, so something is wrong here.  I crawl through my system logs and the only thing I can find looks like:

10/31/13 5:50:10.347 PM Quake3-UrT.i386[22814]: CPSGetCurrentProcess(): This call is deprecated and should not be called anymore.
10/31/13 5:50:10.347 PM Quake3-UrT.i386[22814]: CPSSetForegroundOperationState(): This call is deprecated and should not be called anymore.
10/31/13 5:50:11.317 PM Quake3-UrT.i386[22814]: CGDisplayBaseAddress is obsolete and returning NULL for display 0x42731c0

Hmm. Okay, so this seems to me like some OS update has borked a previously working API call.  I’m sure the UT people are aware of this and will have a fix soon. A week goes by, and I head over to the Urban Terror homepage to see if there’s a fix out.  Nope.  No fix. Hmm. So I check the forums and find a few people with a similar problem to me.  A few people claimed that it had do with a bad resolution setting, which seemed bogus to me since I hadn’t messed with my resolution settings at all lately.

But I noticed another comment which said “You need to out the updater under your Home directory, so your user will have writing permissions.”  Don’t ask me why, but this rang a bell somewhere in my head. I launched Disk Utility, ran a “Verify Disk”, which was clean, followed by a “Repair Disk Permissions”. #BINGO.  Now Urban Terror works again.

Was it Disk Utility that fixed it?  Not sure.  I hadn’t tried to run it in weeks, so maybe it was just coincidence.  But it certainly didn’t hurt!

The dude abides…

Leave a Reply

Your email address will not be published. Required fields are marked *