Re: Directory permissions for games

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2017-06-27 15:04 GMT+02:00 Alec Leamas <leamas.alec@xxxxxxxxx>:
>
>
> 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?view=markup
>>
>> 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@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux