Hello,

It would help a lot to change these lines in /usr/sbin/cyrus-makedirs:

(line 92)
find "$confdir" -print0 \( -not -user cyrus -or  -not -group mail \) | xargs
-r -0 chown cyrus:mail

(line 105)
find "$i" -print0 \( -not -user cyrus -or  -not -group mail \) | xargs -r -0
chown cyrus:mail

(line 118)
find "$sievedir" -print0 \( -not -user cyrus -or  -not -group mail \) |
xargs -r -0 chown cyrus:mail


into:

(line 92)
find "$confdir" \( -not -user cyrus -or  -not -group mail \) -print0 | xargs
-r -0 chown cyrus:mail

(line 105)
find "$i" \( -not -user cyrus -or  -not -group mail \) -print0 | xargs -r -0
chown cyrus:mail

(line 118)
find "$sievedir" \( -not -user cyrus -or  -not -group mail \) -print0 |
xargs -r -0 chown cyrus:mail


This way the file is only chowned when the user/group is incorrect. With the
-print0 statement in the front, just all files are printed, user cyrus or not..

If another security update will be released for oldstable, I would really
like this fix. Without the fix, the upgrade took me more than 1.5 hours
downtime. With the fix, this will probably be only 5 minutes.


Regards,

Bas van Sisseren

-- 
Bas van Sisseren <b...@quarantainenet.nl>
Quarantainenet



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to