Fixing Unreal Tournament 2004 for Linux permissions

If you’re using the dedicated Unreal Tournament 2004 dedicated server, you may have noticed that the zip file does not preserve UNIX permissions. Things begin to get messy when you start to update things, as updates are normally distributed as UNIX tar files which do preserve permissions.

So, to fix the permissions, run:

find . -type f -exec chmod 644 "{}" \;
find . -type d -exec chmod 755 "{}" \;

This will mess up the permissions on the binaries. You can then go into the System/ directory and use this bit of shell:

BINARIES="ucc-bin ucc-bin-linux-amd64 ut2004-bin ut2004-bin-linux-amd64"

  chmod 755 "$BINARY"

As I’m installing UT2004 for the THIRD time on caligula, it’s useful to archive the details of this–it doesn’t hurt that I actually look as if I am trying to update my website now.

Like this article? Please support my writing! Flattr my blog (see my thoughts on Flattr), tip me via PayPal, or send me an item from my Amazon wish list.


landis's picture

Any chance of maybe getting another server going? I’m getting back into the fps scene a little bit, might be nice to for the rare times we do lan (easier for people in odd locations to connect maybe).