[Kolab-devel] [issue1125] Rights on dir /kolab/var/imapd
Andrea
kolab-issues at intevation.de
Wed Feb 15 04:03:32 CET 2006
New submission from Andrea <soliva at comcept.ch>:
I thought I write this issue because I do not really know if you are aware of
it or if it is an Solaris related issue. I have now implemented 3 kolab2
servers by different customers. The kolab servers itself are Fedora 3 based or
Solaris. All works fine without any issues and without errors except following
(using Kolab 2.0.3 upgraded from 2.0.1):
--> On Solaris installation I had always this error:
==> /kolab/var/imapd/log/cyr_db.log <==
Jan 20 15:37:08 kolab2 <error> ctl_cyrusdb[10533]: DBERROR: error listing
log files: Permission denied
Jan 20 15:37:08 kolab2 <error> ctl_cyrusdb[10533]: DBERROR: archive
/kolab/var/imapd/db: cyrusdb error
Jan 20 15:37:08 kolab2 <error> ctl_cyrusdb[10533]: DBERROR: error listing
log files: Permission denied
Jan 20 15:37:08 kolab2 <error> ctl_cyrusdb[10533]: DBERROR: archive
/kolab/var/imapd/db: cyrusdb error
I looked into this an tried to solve the issue in the following way:
Because all files under /kolab/var/imapd are owned by kolab-r except master.log
in log dir and the dir "impad" has the rights:
kolab-r:kolab
I adjusted this with:
chgrp kolab-r /kolab/var/imapd
It means new the dir has now the rights:
kolab-r:kolab-r rwxr-x---
The log dir shows me some funny rights it means:
drwxr-x--- 2 kolab-r kolab-r 1024 Feb 13 00:01 .
drwxr-x--- 14 kolab-r kolab-r 512 Feb 15 03:06 ..
-rw-rw-rw- 1 kolab-r kolab-r 10405478 Feb 15 03:06 cyr_db.log
-rw-r--r-- 1 kolab-r kolab-r 1959161 Feb 15 03:36 imapd.log
-rw-r--r-- 1 kolab-r kolab-r 0 Feb 13 00:00 imapd.log.0
-rw-r--r-- 1 kolab-r kolab-r 45369 Feb 13 00:00 imapd.log.1.bz2
-rw-r--r-- 1 root other 45369 Feb 13 00:00 imapd.log.2.bz2
-rw-r--r-- 1 kolab-r kolab-r 14 Feb 8 00:01 imapd.log.3.bz2
-rw-r--r-- 1 kolab-r kolab-r 49684 Feb 5 00:00 imapd.log.4.bz2
-rw-r--r-- 1 root other 49684 Feb 5 00:00 imapd.log.5.bz2
-rw-r--r-- 1 kolab-r kolab-r 14 Feb 1 00:00 imapd.log.6.bz2
-rw-r--r-- 1 kolab-r kolab-r 33893 Jan 28 00:00 imapd.log.7.bz2
-rw-r--r-- 1 kolab-r kolab-r 14 Jan 28 00:00 imapd.log.8.bz2
-rw-r--r-- 1 kolab-r kolab-r 45351 Jan 26 00:01 imapd.log.9.bz2
-rw-r--r-- 1 root kolab-r 391737 Feb 15 03:36 master.log
-rw-r--r-- 1 root kolab-r 0 Feb 12 00:00 master.log.0
-rw-r--r-- 1 root kolab-r 88437 Feb 12 00:00 master.log.1.bz2
-rw-r--r-- 1 root other 88437 Feb 12 00:00 master.log.2.bz2
-rw-r--r-- 1 root kolab-r 14 Feb 3 00:00 master.log.3.bz2
-rw-r--r-- 1 root kolab-r 83888 Jan 24 00:00 master.log.4.bz2
-rw-r--r-- 1 root other 83888 Jan 24 00:00 master.log.5.bz2
-rw-r--r-- 1 root kolab-r 85806 Jan 13 00:00 master.log.6.bz2
-rw-r--r-- 1 root kolab-r 86434 Jan 1 00:00 master.log.8.bz2
-rw-rw-rw- 1 kolab-r kolab-r 840262 Feb 15 00:30 misc.log
-rw-r--r-- 1 kolab-r kolab-r 783760 Feb 15 03:33 pop3d.log
-rw-r--r-- 1 kolab-r kolab-r 0 Feb 13 00:01 pop3d.log.0
-rw-r--r-- 1 kolab-r kolab-r 65175 Feb 13 00:01 pop3d.log.1.bz2
-rw-r--r-- 1 kolab-r kolab-r 14 Feb 13 00:01 pop3d.log.2.bz2
-rw-r--r-- 1 kolab-r kolab-r 49147 Feb 9 00:00 pop3d.log.3.bz2
-rw-r--r-- 1 kolab-r kolab-r 14 Feb 9 00:00 pop3d.log.4.bz2
-rw-r--r-- 1 kolab-r kolab-r 51383 Feb 3 00:00 pop3d.log.5.bz2
-rw-r--r-- 1 root other 51383 Feb 3 00:00 pop3d.log.6.bz2
-rw-r--r-- 1 kolab-r kolab-r 14 Jan 31 00:00 pop3d.log.7.bz2
-rw-r--r-- 1 kolab-r kolab-r 42849 Jan 26 00:01 pop3d.log.8.bz2
-rw-r--r-- 1 kolab-r kolab-r 14 Jan 26 00:01 pop3d.log.9.bz2
-rw-r--r-- 1 kolab-r kolab-r 10249 Feb 7 17:47 sieve.log
I changed this to:
chgrp kolab-r /kolab/var/imapd/log/*
chown kolab-r /kolab/var/imapd/log/*
chown root:root /kolab/var/imapd/log/master.log*
I do not see again the errors but I do not know if the adjustment are correct
done without impact to other aspects! As I remember I have these errors since
installing 2.0.1! Is this probably an issue depending the install script within
the install process?
----------
messages: 6563
nosy: soliva
priority: bug
status: unread
title: Rights on dir /kolab/var/imapd
________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://intevation.de/roundup/kolab/issue1125>
________________________________________________
More information about the devel
mailing list