Hi,
I don't know how to reopen an archived bug, so I send this mail to the
maintainer-addresses.
There is still an issue with /usr/sbin/cyrus-makedirs when updating the spool
partitions in various cyrus versions.
cyrus-common-2.2 2.2.13-14+b3 (lenny):
find "$i" -print0 \( -not -user cyrus -or -not -group mail \) | xargs
-r -0 chown cyrus:mail
kolab-cyrus-common 2.2.13-5+b3 (lenny+unstable based on cyrus-common-2.2):
find "$i" -print0 \( -not -user cyrus -or -not -group mail \) | xargs
-r -0 chown cyrus:mail
cyrus-common-2.3 2.3_2.3.8-1 (unstable):
find "$i" -not -user cyrus -or -not -group mail -exec chown cyrus:mail
{} \;
The cyrus-common-2.2-versions have the problem that "-print0" should be the
last argument of find. With "print0" at
the beginning, every file will be changed which is very slow.
The cyrus-common-2.3-version works but is much slower when there are files with
wrong owner/group because -exec will
start a new process for every single file.
So I would recommend the following for all versions:
find "$i" \( -not -user cyrus -or -not -group mail \) -print0 | xargs
-r -0 chown cyrus:mail
Best regards,
--
Thilo Uttendorfer
Linux Information Systems AG
Putzbrunner Str. 71, 81739 München
[email protected], http://www.linux-ag.com
_______________________________________________
Pkg-Cyrus-imapd-Debian-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-cyrus-imapd-debian-devel