[tecnoballz] 07/56: tecnoballs.postinst: make scorefile writable by games group (Closes: #409718)

Markus Koschany apo-guest at moszumanska.debian.org
Fri Jan 30 12:12:52 UTC 2015


This is an automated email from the git hooks/post-receive script.

apo-guest pushed a commit to branch master
in repository tecnoballz.

commit 04dee2eac743c98e37e5a769e7a704dca810e710
Author: Ansgar Burchardt <ansgar at debian.org>
Date:   Thu May 29 20:22:21 2008 +0000

    tecnoballs.postinst: make scorefile writable by games group
    (Closes: #409718)
---
 debian/changelog           | 2 ++
 debian/tecnoballz.postinst | 6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f06c60d..c8e9624 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ tecnoballz (0.92-3) UNRELEASED; urgency=low
   * debian/control: Set Maintainer to Debian Games Team
   * debian/control: Add Vcs-* fields
   * debian/control: Add Homepage field
+  * tecnoballs.postinst: make scorefile writable by games group
+    (Closes: #409718)
 
  -- Ansgar Burchardt <ansgar at 43-1.org>  Thu, 29 May 2008 20:29:41 +0200
 
diff --git a/debian/tecnoballz.postinst b/debian/tecnoballz.postinst
index 45f66f7..7fd96ef 100644
--- a/debian/tecnoballz.postinst
+++ b/debian/tecnoballz.postinst
@@ -36,10 +36,10 @@ case "$1" in
     fi
 
     # The scorefile is writable by the group "games".
-    chown root:root $SCOREDIR
-    chmod 0755 $SCOREDIR
+    chown root:games $SCOREDIR
+    chmod 2755 $SCOREDIR
     chown root:games $SCOREDIR/tecnoballz.hi
-    chmod 0644 $SCOREDIR/tecnoballz.hi
+    chmod 0664 $SCOREDIR/tecnoballz.hi
 
     # Help dpkg with the directory -> symlink transition
     if [ -d "$DOCDIR" -a ! -L "$DOCDIR" ]; then

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/tecnoballz.git



More information about the Pkg-games-commits mailing list