[Pkg-dspam-misc] Bug#505217: /etc/init.d/dspam ignores $USER in call to chmod
Daniel Hahler
debian-bugs at thequod.de
Mon Nov 10 22:16:37 UTC 2008
Package: dspam
Version: 3.6.8-9
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu intrepid ubuntu-patch
The fix for Debian bug #483868 does not appear to be complete, since the
first hunk of the provided patch has not been applied.
I'm resubmitting it therefore.
See https://launchpad.net/bugs/232543 for the original report in Ubuntu.
Thank you.
-------------- next part --------------
diff -u dspam-3.6.8/debian/dspam.init dspam-3.6.8/debian/dspam.init
--- dspam-3.6.8/debian/dspam.init
+++ dspam-3.6.8/debian/dspam.init
@@ -31,7 +31,7 @@
# Create directory for PIDFILE, if it does not exist and change ownership.
test -d $(dirname $PIDFILE) || mkdir -p -m 755 $(dirname $PIDFILE)
-chown dspam $(dirname $PIDFILE)
+chown $USER $(dirname $PIDFILE)
OPTIONS="--daemon $OPTIONS"
More information about the Pkg-dspam-misc
mailing list