[Top][All Lists]

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

Re: A postinst equivalent in Guix?

From: Georgi Kirilov
Subject: Re: A postinst equivalent in Guix?
Date: Wed, 25 Jan 2017 16:54:14 +0200
User-agent: NeoMutt/20161126 (1.7.1)

On Mon, Jan 23, 2017 at 10:34:55AM +0100, Ludovic Courtès wrote:
As for /var/lib/bsdgames, then it’s up to the admin to set the right
permissions on it.  We can ensure that it exists and has the right
permissions on GuixSD, but on foreign distros, there’s nothing we can

Yep, I think making it work in GuixSD is enough :)
Other distros have their own package.

I tried adding a gnu/services/games.scm and mimicking what the other services did, but I don't even know how to trigger the code.
I would appreciate any help.

On Wed, Jan 25, 2017 at 02:42:41PM +0100, John Darrington wrote:
I always thought the unix way was rather nice.   The scores file was owned by
"games" and programs which wanted to write to them were setuid games.

That way everyone on the system shares the same scores file.

Yes, some of these games maintain and query a system-wide top scores list so users can try to beat each other's top scores.

On Tue, Jan 24, 2017 at 06:26:28PM -0600, Christopher Allan Webber wrote:
I'm a bit wary about GuixSD packages declaring being able to write to
/var/ anything by default.  What would the permissions be?  I guess if
it were world-writable to all "users" group users it would be okayish.

This is exactly how this package does it - it installs initial, empty score files and chgrp's them to 'users'.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]