diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2006-12-07 16:10:08 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2006-12-07 16:10:08 +0000 |
commit | b54c9e7abd35d167873efc66c23281ba65e2f8c1 (patch) | |
tree | e33cafbab6479364fce5631e3e7c61d0f47f1588 /net-www/vdradmin-am | |
parent | Version bump. Ebuild provided by Jimmy.Jazz@gmx.net, #157366 (diff) | |
download | gentoo-2-b54c9e7abd35d167873efc66c23281ba65e2f8c1.tar.gz gentoo-2-b54c9e7abd35d167873efc66c23281ba65e2f8c1.tar.bz2 gentoo-2-b54c9e7abd35d167873efc66c23281ba65e2f8c1.zip |
Let the init-script correct permission errors of the tmp-directory.
(Portage version: 2.1.2_rc2-r5)
Diffstat (limited to 'net-www/vdradmin-am')
-rw-r--r-- | net-www/vdradmin-am/ChangeLog | 5 | ||||
-rw-r--r-- | net-www/vdradmin-am/files/vdradmin-2 | 8 |
2 files changed, 10 insertions, 3 deletions
diff --git a/net-www/vdradmin-am/ChangeLog b/net-www/vdradmin-am/ChangeLog index 2873171cb684..d9eefa0c5449 100644 --- a/net-www/vdradmin-am/ChangeLog +++ b/net-www/vdradmin-am/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-www/vdradmin-am # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/vdradmin-am/ChangeLog,v 1.6 2006/12/02 18:40:50 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/vdradmin-am/ChangeLog,v 1.7 2006/12/07 16:10:08 zzam Exp $ + + 07 Dec 2006; Matthias Schwarzott <zzam@gentoo.org> files/vdradmin-2: + Let the init-script correct permission errors of the tmp-directory. *vdradmin-am-3.5.1 (02 Dec 2006) diff --git a/net-www/vdradmin-am/files/vdradmin-2 b/net-www/vdradmin-am/files/vdradmin-2 index 64703cc450c5..91a445a33580 100644 --- a/net-www/vdradmin-am/files/vdradmin-2 +++ b/net-www/vdradmin-am/files/vdradmin-2 @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-www/vdradmin-am/files/vdradmin-2,v 1.1 2006/11/06 20:18:41 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/vdradmin-am/files/vdradmin-2,v 1.2 2006/12/07 16:10:08 zzam Exp $ depend() { need vdr @@ -23,8 +23,12 @@ start() { ebegin "Starting vdradmin-am" : ${VDRADMIN_USER:=vdradmin} + + # Guarantee that vdradmin can access its tmp-dir + chown -R "${VDRADMIN_USER}:vdradmin" /var/tmp/vdradmin + set_charset - start-stop-daemon --start --background --chuid ${VDRADMIN_USER} --exec /usr/bin/vdradmind.pl + start-stop-daemon --start --background --chuid "${VDRADMIN_USER}" --exec /usr/bin/vdradmind.pl eend $? } |