I confirm that this is still true for 10.04 upgrade. The upgrade
replaces courier-authdaemon startup script , and in the new official
version of the script, the permissions on created directory are left
unchanged. They should be changed to be readable for at least
daemon:daemon user&group, like this :

--- /etc/init.d/courier-authdaemon      2009-12-06 01:05:50.000000000 +0200
+++ /backup/tag/etc/init.d/courier-authdaemon   2009-10-27 13:36:58.000000000 
+0200
@@ -28,7 +28,12 @@
        cd /
        log_daemon_msg "Starting Courier authentication services" "authdaemond"
        if [ ! -d "$rundir" ]; then
+               if [ ! -d $(dirname "$rundir") ]; then
+                       mkdir -p -m 0750 $(dirname $rundir)
+                       chown daemon.daemon $(dirname $rundir)
+               fi
                mkdir -p -m 0750 $rundir 
+               chown daemon.daemon $rundir
        fi
        $daemonscript start
        log_end_msg 0

-- 
insufficient access permission for /var/run/courier/authdaemon
https://bugs.launchpad.net/bugs/483170
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to