On 4 October 2013 18:09, Vincent Bernat ber...@debian.org wrote:
4 octobre 2013 22:56 CEST, Beco r...@beco.cc :
On Debian, those high scores are usually stored in /var/games/X. The
file permissions allow a user from the group games to write the
file. See for example `monsterz`.
--
On Sat, 2013-10-05 at 00:02 -0300, Beco wrote:
On 4 October 2013 22:56, Beco r...@beco.cc wrote:
Hi mentors,
[snip]
I suppose that is all I have to do. But myapp still tells me
permission denied.
I got it working using something I was trying to avoid. SGID.
chmod g+s mytouch
On 5 October 2013 07:43, Gert Wollny gw.foss...@gmail.com wrote:
[snip]
chmod g+s mytouch
You shouldn't have to do this. Are you sure that you are in the games
group?, i.e. after adding yourself to the games group, did you logout
and login again?
As member of the games group on my Debian
On Fri, Oct 04, 2013 at 04:58:10PM -0300, Beco wrote:
Following the suggestion from Maysima (Linux-fan name?), after reading
something about hierarchy, I'm using the following structure:
/usr/local/game for the binary
/usr/local/share/locale for the language file .mo
On 10/05/2013 12:12 AM, Andrey Rahmatullin wrote:
Apps that run with user rights usually store their data in that user's
home directory.
And /tmp directory for files that are required temporarily.
--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of
On 4 October 2013 17:12, Andrey Rahmatullin w...@wrar.name wrote:
What I'm not getting is that I have no write permissions to this
directory where the data will be.
Apps that run with user rights usually store their data in that user's
home directory. Do you really need to write the data into
❦ 4 octobre 2013 22:56 CEST, Beco r...@beco.cc :
What I'm not getting is that I have no write permissions to this
directory where the data will be.
Apps that run with user rights usually store their data in that user's
home directory. Do you really need to write the data into the global
Following the suggestion from Maysima (Linux-fan name?), after reading
something about hierarchy, I'm using the following structure:
First of all, you've decided to work with Debian. I recommend not to use
$(random cookbook/advice), but Debian docs instead, asking here ore filing
bugs whenever
On 4 October 2013 18:23, Martin Eberhard Schauer
martin.e.scha...@gmx.de wrote:
There is a difference between building some software and installing it. You
need root rights for installations beyond your home directory.
Cheers,
Martin
Hi Martin,
Thanks for the help. Are you saying that
Hi mentors,
I'm putting my thoughts together. I think what I'm trying to ask is
how to make it work manually?
Suppose I do the following:
Step 1: binary
gcc myapp.c -o myapp
sudo cp myapp /usr/games/
Step 2: prepare translations:
mkdir -p /usr/share/locale/en/LC_MESSAGES
xgettext -k_
On 4 October 2013 22:56, Beco r...@beco.cc wrote:
Hi mentors,
[snip]
I suppose that is all I have to do. But myapp still tells me
permission denied.
I got it working using something I was trying to avoid. SGID.
chmod g+s mytouch
I think its kind of dangerous. But hell, is there any other
On Sat, Oct 5, 2013 at 5:09 AM, Vincent Bernat wrote:
On Debian, those high scores are usually stored in /var/games/X. The
file permissions allow a user from the group games to write the
file. See for example `monsterz`.
That usually requires the game to be setgid, which isn't worth the
On Sat, Oct 5, 2013 at 11:58 AM, Paul Wise wrote:
per-user high-scores or
I forgot to mention that most computers these days (at least in rich
countries) are not multi-user so this isn't as big of an issue as it
would seem.
network service to share high scores
You need to ensure that both
13 matches
Mail list logo