[med-svn] [jmodeltest] 02/03: Better permissions for log dir

Andreas Tille tille at debian.org
Sat May 28 14:32:31 UTC 2016


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

tille pushed a commit to branch master
in repository jmodeltest.

commit 0097109c992f081d41d9d3de2050e3e2d2f28220
Author: Andreas Tille <tille at debian.org>
Date:   Sat May 28 16:21:40 2016 +0200

    Better permissions for log dir
---
 debian/changelog | 4 +++-
 debian/postinst  | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 94a4ded..74ae9e9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,10 @@
 jmodeltest (2.1.10+dfsg-2) UNRELEASED; urgency=medium
 
   * Added missing copyright statements
+  * Better permissions for log dir
+    Closes: #825119
 
- -- Andreas Tille <tille at debian.org>  Thu, 12 May 2016 21:53:48 +0200
+ -- Andreas Tille <tille at debian.org>  Sat, 28 May 2016 16:20:54 +0200
 
 jmodeltest (2.1.10+dfsg-1) unstable; urgency=low
 
diff --git a/debian/postinst b/debian/postinst
index 16f0824..3aabcdd 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -6,7 +6,7 @@ LOGDIR=/var/log/jmodeltest
 case "$1" in
     configure)
         mkdir -p $LOGDIR
-        chmod 777 $LOGDIR
+        chmod 1777 $LOGDIR
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/jmodeltest.git



More information about the debian-med-commit mailing list