Bug#725314: RFS: transcriber/1.5.1.1-8 [RC] -- Transcribe speech data using an integrated editor

2013-10-04 Thread Florian Schlichting
Hi Giulio,

On Fri, Oct 04, 2013 at 03:14:51AM +0200, Giulio Paci wrote:
 I am looking for a sponsor for my package transcriber
 
 It closes the following two bugs:
 
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725254
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725255

could you drop the version on the tcl-tclex dependency? The dependency
on tclex (=1.2a1-3) was the reason transcriber wouldn't be build on the
buildds, after the first issue there had been solved. tclex had become a
virtual package over the last few weeks, only provided by tcl-tclex, and
versioned build-dependencies don't work on virtual packages I was
reminded yesterday: 

as per policy 7.5, If a relationship field has a version number
attached, only real packages will be considered to see whether the
relationship is satisfied

Besides, even oldstable has version 1.2a1-15 of tclex, so the version
could have been dropped a while ago (1.2a1-3 seems to have been uploaded
in 2001...)

Otherwise, did you have a chance to look into the more pedantic lintian
warnings?

Florian


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131004075824.gs44...@zedat.fu-berlin.de



Bug#725314: RFS: transcriber/1.5.1.1-8 [RC] -- Transcribe speech data using an integrated editor

2013-10-04 Thread Giulio Paci
Il 04/10/2013 09:58, Florian Schlichting ha scritto:
 Hi Giulio,
 
 On Fri, Oct 04, 2013 at 03:14:51AM +0200, Giulio Paci wrote:
 I am looking for a sponsor for my package transcriber
  
 It closes the following two bugs:

 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725254
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725255
 
 could you drop the version on the tcl-tclex dependency? The dependency
 on tclex (=1.2a1-3) was the reason transcriber wouldn't be build on the
 buildds, after the first issue there had been solved. tclex had become a
 virtual package over the last few weeks, only provided by tcl-tclex, and
 versioned build-dependencies don't work on virtual packages I was
 reminded yesterday: 

Dropped.

 did you have a chance to look into the more pedantic lintian
 warnings?

Unfortunately I had no time to fix the duplicate files issue.
There is no distributed upstream changelog, so I just added a lintian-overrides 
file for it.

Bests,
Giulio.


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/524e7f8a.6070...@gmail.com



Bug#724791: RFS: gogglesmm/0.12.7-2

2013-10-04 Thread Hendrik Rittich
Hi,

I have uploaded a corrected version.

Regards,

Hendrik

Am Donnerstag, den 03.10.2013, 17:51 +0200 schrieb Sebastian Ramacher:
 Control: owner -1 !
 
 On 2013-09-27 22:10:41, Hendrik Rittich wrote:
dget -x 
  http://mentors.debian.net/debian/pool/main/g/gogglesmm/gogglesmm_0.12.7-2.dsc
 
 | diff -Nru gogglesmm-0.12.7/debian/control gogglesmm-0.12.7/debian/control
 | --- gogglesmm-0.12.7/debian/control 2013-06-04 23:22:02.0 +0200
 | +++ gogglesmm-0.12.7/debian/control 2013-09-27 22:14:22.0 +0200
 | @@ -5,13 +5,14 @@
 |  Homepage: http://code.google.com/p/gogglesmm/
 |  Build-Depends: debhelper (= 7), dpkg-dev (= 1.16.1~),
 |  libdbus-1-dev, libtag1-dev,
 | -libfox-1.6-dev, libxrandr-dev, libxine-dev,
 | +libfox-1.6-dev, libxrandr-dev, libxine2-dev,
 |  libsqlite3-dev (= 3.4), libbz2-dev, imagemagick
 |  Standards-Version: 3.9.4
 |  
 |  Package: gogglesmm
 |  Architecture: any
 |  Depends: ${shlibs:Depends}, ${misc:Depends}
 | +Recommends: libxine2-plugins
 |  Description: Goggles Music Manager
 |   Goggles Music Manager is a music collection manager and player that 
 |   automatically categorizes your music files based on genre, artist, 
 
 Please also document the change to Recommends.
 
 | diff -Nru gogglesmm-0.12.7/debian/patches/fox_pkg_config.diff 
 gogglesmm-0.12.7/debian/patches/fox_pkg_config.diff
 | --- gogglesmm-0.12.7/debian/patches/fox_pkg_config.diff 1970-01-01 
 01:00:00.0 +0100
 | +++ gogglesmm-0.12.7/debian/patches/fox_pkg_config.diff 2013-09-04 
 22:32:53.0 +0200
 | @@ -0,0 +1,19 @@
 | +Creates the shell script fox-pkg-config.sh. This script generates a
 | +pkg-config file for the FOX library.
 | +--- /dev/null
 |  b/fox-pkg-config.sh
 | +@@ -0,0 +1,14 @@
 | ++cat  EOF
 | ++prefix=$(fox-config --prefix)
 | ++exec_prefix=\${prefix}
 | ++libdir=\${exec_prefix}/lib
 | ++includedir=\${prefix}/include
 | ++
 | ++Name: FOX
 | ++Description: FOX LIB
 | ++Version: $(fox-config --version)
 | ++Requires:
 | ++
 | ++Libs: $(fox-config --libs)
 | ++Cflags: $(fox-config --cflags)
 | ++EOF
 
 I suppose that slipped in. Please remove it.
 
 Regards


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1380880429.4009.0.camel@home



Install syntax highlight for IDEs

2013-10-04 Thread Anton Balashov
Hi there.
I'm continuing packaging gmqcc and now I need to install syntax
highlight for many IDE. And I need your advice here.
I need just to copy files but...
How should I do that? Should I check existence of target dirs (installed
IDE)? Can I install those files just via debian/install?

Thanks.



signature.asc
Description: OpenPGP digital signature


Bug#724896: RFS: wiktionarytodict/20130929 [ITP] -- dictionaries for dictd

2013-10-04 Thread Kartik Mistry
On Sun, Sep 29, 2013 at 6:39 PM, Tim Edwards timedwa...@fastmail.com.au wrote:
   I am looking for a sponsor for my package wiktionarytodict which expands 
 the number and quality of translation dictionaries available for the dictd 
 server and compatible client programs.

Did you get any sponsor?

-- 
Kartik Mistry | IRC: kart_
{0x1f1f, kartikm}.wordpress.com


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/capdygexhhvupjbvculqauvtay9lbdxb0z7a6v3oqvygqub8...@mail.gmail.com



Bug#724896: RFS: wiktionarytodict/20130929 [ITP] -- dictionaries for dictd

2013-10-04 Thread Tim Edwards


On 04/10/13 13:38, Kartik Mistry wrote:

On Sun, Sep 29, 2013 at 6:39 PM, Tim Edwards timedwa...@fastmail.com.au wrote:

   I am looking for a sponsor for my package wiktionarytodict which expands 
the number and quality of translation dictionaries available for the dictd server and 
compatible client programs.

Did you get any sponsor?

No, not yet. It should be a pretty straightforward set of packages to 
include as it's really just a packaging of dictionaries generated by my 
scripts available at https://github.com/tkedwards/wiktionarytodict


Tim


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/524ec212.40...@fastmail.com.au



Bug#725365: RFS: mercurial-keyring/0.6.1-1

2013-10-04 Thread Christoph Mathys
Package: sponsorship-requests
Severity: normal

Dear mentors,

I am looking for a sponsor for my package mercurial-keyring

 * Package name: mercurial-keyring
   Version : 0.6.1-1
   Upstream Author : Marcin Kasperski
 * URL : http://pypi.python.org/pypi/mercurial_keyring
 * License : BSD-3-clause
   Section : python

It builds those binary packages:

  mercurial-keyring - Mercurial Keyring Extension

To access further information about this package, please visit the following 
URL:

  http://mentors.debian.net/package/mercurial-keyring


Alternatively, one can download the package with dget using this command:

  dget -x 
http://mentors.debian.net/debian/pool/main/m/mercurial-keyring/mercurial-keyring_0.6.1-1.dsc

More information about mercurial-keyring can be obtained from
http://pypi.python.org/pypi/mercurial_keyring

Changes since the last upload:

  * New upstream release.


Regards,
Christoph Mathys


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131004165620.19091.43614.reportbug@obsidian



permission to write to /usr/local/share/packagename

2013-10-04 Thread Beco
Hi guys,

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
/usr/local/share/packagename for the data file.

What I'm not getting is that I have no write permissions to this
directory where the data will be.

How can my program fopen(/usr/local/share/pname/pname.dat, w); ?

Also, will I hardcode this path? For now I'm just finishing the code,
so I can start preparing the packaging.

Of course, the packaging may have rules to state where do the .dat
file goes, so I'm kind of lost here too. But this is a second stage.

For now I just want my program to run in the correct places, write the
data in the correct directory.

Thanks any light here.

Beco.



-- 
Dr Beco
A.I. researcher

Sometimes the heart sees what is invisible to the eye. (H. Jackson Brown Jr.)


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2yGv12Mq9t-pqUqb=w1roms61tduqu_px41mrmqesi...@mail.gmail.com



Re: permission to write to /usr/local/share/packagename

2013-10-04 Thread Andrey Rahmatullin
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
 /usr/local/share/packagename for the data file.
You shouldn't put anything in /usr/local.

 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
location? What kind of data is it?

-- 
WBR, wRAR


signature.asc
Description: Digital signature


Bug#725314: marked as done (RFS: transcriber/1.5.1.1-8 [RC] -- Transcribe speech data using an integrated editor)

2013-10-04 Thread Debian Bug Tracking System
Your message dated Fri, 4 Oct 2013 22:07:43 +0200
with message-id 20131004200743.gc44...@zedat.fu-berlin.de
and subject line Re: RFS: transcriber/1.5.1.1-8 [RC] -- Transcribe speech data 
using an integrated editor
has caused the Debian Bug report #725314,
regarding RFS: transcriber/1.5.1.1-8 [RC] -- Transcribe speech data using an 
integrated editor
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
725314: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725314
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---
Package: sponsorship-requests
Severity: wishlist

Dear mentors,

I am looking for a sponsor for my package transcriber

* Package name: transcriber
  Version : 1.5.1.1-8
  Upstream Author : Transcriber Team transcriber-requ...@etca.fr
* URL : http://trans.sf.net/
* License : GPL-2+
  Programming Lang: C, Tcl
  Section : sound

It builds those binary packages:

transcriber - Transcribe speech data using an integrated editor

It closes the following two bugs:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725254
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725255

You can get latest sources from the following git repository:

git://git.debian.org/git/collab-maint/transcriber.git


More information about transcriber can be obtained from
http://trans.sf.net/.

Regards,
   Giulio Paci
---End Message---
---BeginMessage---
  On Fri, Oct 04, 2013 at 03:14:51AM +0200, Giulio Paci wrote:
  I am looking for a sponsor for my package transcriber

uploaded.

Florian---End Message---


Re: permission to write to /usr/local/share/packagename

2013-10-04 Thread Hermann Sorgel

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 unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/524f2978.4090...@gmail.com



Re: permission to write to /usr/local/share/packagename

2013-10-04 Thread Beco
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 the global
 location? What kind of data is it?

 --
 WBR, wRAR


Hi Andrey,

Thanks for your attention. It's a game score (top 10 players).

I thought saving under $HOME, but then others players would see only
their own name.

Any suggestion?

Hi Hermann,

While tmp is a good idea for some other things I have here, in the
case of scores it would be better if the file is protected from
accidental deletion.

Thanks!

Cheers,

Beco.





--
Dr Beco
A.I. researcher

Sometimes the heart sees what is invisible to the eye. (H. Jackson Brown Jr.)


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caluyw2z44+9tn6ue4fspyxq6f7v8fpa4kan66r4ocodikd4...@mail.gmail.com



Re: permission to write to /usr/local/share/packagename

2013-10-04 Thread Vincent Bernat
 ❦  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
 location? What kind of data is it?

 Hi Andrey,

 Thanks for your attention. It's a game score (top 10 players).

 I thought saving under $HOME, but then others players would see only
 their own name.

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`.
-- 
Make sure your code does nothing gracefully.
- The Elements of Programming Style (Kernighan  Plauger)


signature.asc
Description: PGP signature


Re: permission to write to /usr/local/share/packagename

2013-10-04 Thread Martin Eberhard Schauer

 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 your question is not/seems not to be answered (yet) in the
Debian docs.

 /usr/local/game for the binary
 /usr/local/share/locale for the language file .mo
 /usr/local/share/packagename for the data file.
 You shouldn't put anything in /usr/local.

When I dived into Linux, there was the following workflow:
 - download the tarball,
 - extract it (tar xzf),
 - cd into new directory -
 ./configure
 make
 make install

I'm quite shure that configure's default was to choose /usr/local and its
subdirectories as default. It was quite instructive as well to see that 
$PATH
did not include /usr/local ;-). Building some .rpm/.deb is different 
from the

workflow described in the last paragraph. Look for files such as READ.ME,
INSTALL, … And try ./configure --help.

 What I'm not getting is that I have no write permissions to this
 directory where the data will be.

There is a difference between building some software and installing it. You
need root rights for installations beyond your home directory.

Cheers,
   Martin


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/524f31c3.5060...@gmx.de



Re: permission to write to /usr/local/share/packagename

2013-10-04 Thread Beco
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 my program can't run
correctly until I install it?

If I make a program (using VI and writing a C code) that tries to save
a file gamex.scores under /var/games, then I compile it with a
simple gcc command (forget make, and configure for now), the program
won't work because of permissions?

I tried this simple command under bash:
$ touch /var/games/test.txt
permission denied!

I added myself to group games, but to no avail.

What is the miracle? After installing with root permissions, the game
won't run with root permission, will it?

Please, help clarifying this topic. I'm not getting it.

Tx,
Beco.


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2zBz72c-pj=BGbPQMOkWyM=mymuovtsue1e7q6ffhs...@mail.gmail.com



Re: permission to write to /usr/local/share/packagename

2013-10-04 Thread Beco
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_ --flag=_:1:pass-c-format -d myapp -s -o myapp.pot myapp.c
 msginit -l en_US -o en_US-myapp.po -i myapp.pot
 msgfmt -c -v -o en_US-myapp.mo en_US-myapp.po
 sudo cp en_US-myapp.mo /usr/share/locale/en/LC_MESSAGES/myapp.mo


Step 3: scores:

mkdir -p /var/games/myapp/
cp myapp.scores /var/games/myapp/

Then I probably need to get some permissions right. Here is the problem. I did:

For the binary:
chown root:games /usr/games/myapp


For the score directory and file:
chown root:games /var/games/myapp
chown root:games /var/games/myapp/myapp
chmod g+w /var/games/myapp
chmod g+w /var/games/myapp/myapp


I suppose that is all I have to do. But myapp still tells me
permission denied.

Holding my breath!

Beco.


-- 
Dr Beco
A.I. researcher

Sometimes the heart sees what is invisible to the eye. (H. Jackson Brown Jr.)


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caluyw2wvdh7ospoazxcbw5g-pqqldn2miugbaxbfgu+wqpc...@mail.gmail.com



Bug#723804: Review of phabricator/0.1~git20130909-1

2013-10-04 Thread Richard Sellam

Hello,

A new version (0~20131004-1) has been uploaded to mentors:
https://mentors.debian.net/package/phabricator

About the comments:
1 to 6 have been done. a get-orig-source target was implemented.
about 7: it doesn't look like libphp-phpmailer will be enough, since 
phabricator has also a class.phpmailer-lite.php file in there (used by 
some scripts) that is not present in the libphp-phpmailer debian package...
File permissions warning is most probably caused by wrong rights on the 
git repository and i'm still not sure how to fix that.
about 8 and 9: i kept all externals since they look highly integrated in 
the rest of the code and i'm kind of scared of breaking things by 
putting them somewhere else on the system. I'll leave it that way since 
they're really small and i don't really have time to test everything in 
phabricator to guarantee there will be no impact.


Phabricator is a continuous release with a lot of changes from one week 
to another. I've been following it since february and they're not 
kidding when they say it's under active development! There is no way to 
support this like a stable version and backport patches for now. The 
best that can be done is to upgrade to the latest version (hence a new 
package version). Fortunately phabricator reacts great to updates. 
Repackaging doesn't need a lot of time so i can manage to do it.


Of course, i'll be able to maintain the package if they release a stable 
version one day.


I hope this is clear,

Regards,


Le 03/10/2013 22:51, Luke Faraone a écrit :

Dear future maintainer,

On Thu, Sep 19, 2013 at 11:41:32PM +0200, Richard Sellam wrote:

  * Package name: phabricator
Version : 0.1~git20130909-1

As discussed on IRC, you probably want to use 0.0~... or 0~... as the
start of the version number.

Some other comments:

1. Your description could use some wordsmithing. Specifically, the homepage
can be omitted. Explaining that this is a code snapshot may also be
beneficial.

2. Please drop the Vcs-Git and Vcs-Browser lines or correct them to be the
valid links for the VCS repository corresponding to the packaging.

3. As a nit: it would be advisable to license debian/* under the same terms
as upstream, even though this is not a strict requirement.

4. Reference the version of the Apache License in common-licenses from
debian/copyright rather than including the license in the package.

5. Please remove libphutil/src/parser/xhpast/bin/xhpast.exe from the
upstream tarball.

6. Since you're already creating the upstream tarball, please either
implement a get-orig-source target in debian/rules, or document how the
tarball was constructed in debian/README.source. You may find it helpful
to include the git ref used to build the tool in the package version.

7. Please fix all of the lintian errors marked Warning that are listed
at https://mentors.debian.net/package/phabricator. The first one
(embedded library) could probably be fixed by switching to
libphp-phpmailer.

8. Please see whether the things in /usr/share/phabricator/externals can
be removed from Phabricator and the appropriate package depended on
instead.

9. Please expand debian/copyright to ensure you document the license of
all software in the source tarball. If you don't use something in
phabricator/externals (because you've done №8), feel free to strip it
out of the upstream tarball as long as you document it according to №6.

Since Phabricator is a continuous release, are you comfortable
backporting security and bug fixes to stable, if the package were
accepted?

Cheers,





Bug#724896: RFS: wiktionarytodict/20130929 [ITP] -- dictionaries for dictd

2013-10-04 Thread Paul Wise
On Fri, Oct 4, 2013 at 9:26 PM, Tim Edwards wrote:

 No, not yet. It should be a pretty straightforward set of packages to
 include as it's really just a packaging of dictionaries generated by my
 scripts available at https://github.com/tkedwards/wiktionarytodict

How are the dictionaries modified? What are the dictionaries generated
from? Please note (DFSG item 2) that you have to include what they are
generated from (the preferred form for modification) in the source
package and generate the dictionaries during the package build
process. The package you have provided is not doing that right now so
it cannot be uploaded to Debian yet.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAKTje6GBGZq19i1Qm3M7wunuKtr6k8ndhBGo=8nx3vleh8w...@mail.gmail.com



Re: permission to write to /usr/local/share/packagename

2013-10-04 Thread Beco
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 safe way?
Is this the correct way to allow an app to write to some directory
outside its HOME?

Thanks!
Beco



-- 
Dr Beco
A.I. researcher

Sometimes the heart sees what is invisible to the eye. (H. Jackson Brown Jr.)


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2xUgZ2FR1O2KqdPum7rjvqqu_Zbr5=md-ner5fep4g...@mail.gmail.com



Re: permission to write to /usr/local/share/packagename

2013-10-04 Thread Paul Wise
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
trouble. It is better to either only use per-user high-scores or
implement a network service to share high scores. However, do not send
or download network highscores (or anything else on the network)
without permission/instruction from the user.

http://www.freedesktop.org/wiki/Games/Upstream/

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAKTje6GiPEFwHhQ_U5zQ06MEjcPN5S1x=-jjaz6tb1zncxk...@mail.gmail.com



Re: permission to write to /usr/local/share/packagename

2013-10-04 Thread Paul Wise
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 the server side and the client side are
sufficiently secure that this doesn't cause issues. Obviously for FOSS
games the code can easily be modified to submit fake scores. One
interesting way around that (which I saw used with the puzzle game
primrose) is for the game to submit all data needed to create the high
score and then the server side can verify that data gives the right
high score. This works better for puzzle games with defined rules
though.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caktje6hhnabsrwefduyjskmsa6mrh998gycu6xwn9q-sktv...@mail.gmail.com