TTimo / GtkRadiant

The open source, cross platform level editor for idtech games
http://icculus.org/gtkradiant/
Other
591 stars 156 forks source link

Guix package: mkdir .../games/ failed: errno: Read-only file system #641

Closed Ambrevar closed 5 years ago

Ambrevar commented 5 years ago

I'm trying to package GtkRadiant for Guix.

Compilation runs almost fine (bar issue #631). When I launch the program, I can choose Quake III Arena and mods, and select the ~/.q3a game directory. When I click OK, I get this message:

mkdir /gnu/store/30i942vmmv9a0sil5abcj2anxi04i5cc-gtk-radiant-1.5-1.3f79dc3/bin/games/ failed - check your permissions
errno: Read-only file system
An unrecoverable error has occured.
Would you like to edit Preferences before exiting Radiant?

This makes sense since the gtk-radiant installation folder is read-only. Is there a way to specify that this "games" folder should be created in the users' home?

TTimo commented 5 years ago

No, there isn't. The install/ folder needs to be writable, the editor binary completes some installation and configuration steps once it gets pointed at a game to configure for.

Ambrevar commented 5 years ago

So this means the editor cannot be installed on a multi-user system as root?

TTimo commented 5 years ago

Correct - that's not possible. An heritage from being a Windows piece of software originally, and being written 25 years ago.

It's a reasonably small set of files for nowadays systems so you could just sync the whole thing to ~/.local/share before the first execution though.

Ambrevar commented 5 years ago

Thanks for confirming. I'll go with a wrapper then.