2017-06-27 15:04 GMT+02:00 Alec Leamas <leamas.alec(a)gmail.com>:
On 27/06/17 14:13, Rémi Verschelde wrote:
> For what it's worth, on Mageia I have no permission problems
> whatsoever with crawl. This spec file works just fine:
>
>
>
http://svnweb.mageia.org/packages/cauldron/crawl/current/SPECS/crawl.spec...
>
> Files are saved in the user dir, as expected of any modern game.
Actually, the spec stores them in %_gamesdatadir a. k. a. /usr/share/games
on mageia. IMHO, that's not a user directory.
Yes, I mean "user files" are saved in the user dir. The game's
original data are in /usr/share/%{?mageia:games}/crawl and should be
accessed read-only.
I guess there is something broken due to `SAVEDIR="~/.crawl"
SHAREDDIR=%{_datadir}/%{name}` which is defined in the Fedora spec
file and not in Mageia's. Maybe it can't parse `~` as expected and
thus overrides its *correct* default userdir value and defaults
instead to the datadir?
>> as expected of any modern game.
>
> Indeed. Perhaps there is some magic copying as described above. Or, the game
> is actually sane and the game data is read-only as it should be.
>
>
> Cheers!
>
> --alec
>
> _______________________________________________
> devel mailing list -- devel(a)lists.fedoraproject.org
> To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org