Fixing Unreal Tournament 2004 for Linux permissions

Tags: •  •  • 

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"

for BINARY in $BINARIES; do chmod 755 "$BINARY" done

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.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Ah, linux

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).


Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text.
  • Images can be added to this post.
  • You may use [inline:xx] tags to display uploaded files or images inline.
More information about formatting options