Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #81 (permalink)  
Old 02-05-2009, 02:04 AM
Moderator
 
Posts: 7,928
Default

From within that directory
Code:
ls -ld .
__________________
Reply With Quote
  #82 (permalink)  
Old 02-05-2009, 02:05 AM
Loyal Member
 
Posts: 93
Default

$ ls -ld .
drwxr-xr-x 10 zimbra zimbra 4096 2009-02-05 08:55 .
$
Reply With Quote
  #83 (permalink)  
Old 02-05-2009, 02:06 AM
Moderator
 
Posts: 7,928
Default

can you even create a file under the directory
Code:
touch testfile
__________________
Reply With Quote
  #84 (permalink)  
Old 02-05-2009, 02:07 AM
Loyal Member
 
Posts: 93
Default

$ touch testfile
touch: cannot touch `testfile': Permission denied
$
Reply With Quote
  #85 (permalink)  
Old 02-05-2009, 02:14 AM
Moderator
 
Posts: 7,928
Default

Missing something really simple here so lets go from the top
Code:
ls -ld /opt
ls -ld /opt/zimbra
ls -ld /opt/zimbra/conf
and check the full chain of permissions.
__________________
Reply With Quote
  #86 (permalink)  
Old 02-05-2009, 02:14 AM
Loyal Member
 
Posts: 93
Default

this is also interesting

zimbra@email:~/conf$ postfix start
postfix/postfix-script: warning: not owned by root: /opt/zimbra/postfix-2.4.7.5z/conf/main.cf
postfix/postfix-script: warning: not owned by root: /opt/zimbra/postfix-2.4.7.5z/conf/master.cf
postfix/postfix-script: warning: not owned by root: /opt/zimbra/postfix-2.4.7.5z/conf/master.cf.in
postfix/postfix-script: warning: not owned by root: /opt/zimbra/postfix-2.4.7.5z/conf/permitted_senders
postfix/postfix-script: warning: not owned by root: /opt/zimbra/postfix-2.4.7.5z/conf/permitted_senders.db
postfix/postfix-script: warning: not owned by root: /opt/zimbra/postfix-2.4.7.5z/conf/protected_recipients
postfix/postfix-script: warning: not owned by root: /opt/zimbra/postfix-2.4.7.5z/conf/protected_recipients.db
postfix/postfix-script: warning: not owned by root: /opt/zimbra/postfix-2.4.7.5z/conf/update_protected_recipients
postfix/postfix-script: starting the Postfix mail system
zimbra@email:~/conf$
Reply With Quote
  #87 (permalink)  
Old 02-05-2009, 02:15 AM
Loyal Member
 
Posts: 93
Default

Quote:
ls -ld /opt
ls -ld /opt/zimbra
ls -ld /opt/zimbra/conf
zimbra@email:~/conf$ ls -ld /opt
drwxr-xr-x 4 root root 4096 2008-04-14 16:44 /opt
zimbra@email:~/conf$

zimbra@email:~/conf$ ls -ld /opt/zimbra
drwxr-xr-x 65 root root 4096 2009-01-30 12:51 /opt/zimbra
zimbra@email:~/conf$

zimbra@email:~/conf$ ls -ld /opt/zimbra/conf
drwxr-xr-x 10 zimbra zimbra 4096 2009-02-05 10:15 /opt/zimbra/conf
zimbra@email:~/conf$
Reply With Quote
  #88 (permalink)  
Old 02-05-2009, 02:28 AM
Moderator
 
Posts: 7,928
Default

Code:
chmod 775 /opt/zimbra/conf
and see if you can cat that file. Permissions look okay though! I am getting to the point where I feel it would be wise to perform a fsck on that filesystem.
__________________
Reply With Quote
  #89 (permalink)  
Old 02-05-2009, 02:33 AM
Loyal Member
 
Posts: 93
Default

root@email:/opt/zimbra/conf# chmod 775 /opt/zimbra/conf
root@email:/opt/zimbra/conf# ls -l
total 652
-r--r----- 1 zimbra zimbra 28121 Jan 30 16:20 amavisd.conf
-r--r--r-- 1 zimbra zimbra 28404 Jan 26 13:40 amavisd.conf.in
drwxr-xr-x 2 zimbra zimbra 4096 Jan 30 12:37 attrs
drwxr-xr-x 2 zimbra zimbra 4096 Jan 30 12:51 ca
-r--r----- 1 zimbra zimbra 8216 Apr 8 2008 clamd.conf
-r--r--r-- 1 zimbra zimbra 9274 Jan 26 13:40 clamd.conf.in
-r--r--r-- 1 zimbra zimbra 28025 Jan 26 13:40 dspam.conf
drwxr-xr-x 2 zimbra zimbra 4096 Jan 30 12:37 externaldirsync
-r--r----- 1 zimbra zimbra 3116 Apr 8 2008 freshclam.conf
-r--r--r-- 1 zimbra zimbra 4284 Jan 26 13:40 freshclam.conf.in
-r--r--r-- 1 zimbra zimbra 35218 Jan 26 13:44 httpd.conf
-rw-r----- 1 zimbra zimbra 39470 Dec 13 2007 kidsadd.txt
-rw------- 1 zimbra zimbra 39469 Dec 13 2007 kidsadd.txt.save
-rwxrwx--- 1 zimbra postfix 447 Feb 5 10:15 ldap-scm.cf
-rw-r----- 1 zimbra postfix 375 Feb 5 10:15 ldap-transport.cf
-rw-r----- 1 zimbra postfix 363 Feb 5 10:15 ldap-vad.cf
-rw-r----- 1 zimbra postfix 506 Feb 5 10:15 ldap-vam.cf
-rw-r----- 1 zimbra postfix 363 Feb 5 10:15 ldap-vmd.cf
-rw-r----- 1 zimbra postfix 357 Feb 5 10:15 ldap-vmm.cf
-rw-r----- 1 zimbra zimbra 20617 Jan 30 12:53 localconfig.xml
-r--r----- 1 zimbra zimbra 3919 Jan 30 16:20 log4j.properties
-rw-r--r-- 1 zimbra zimbra 3989 Jan 26 13:40 log4j.properties.in
-r--r--r-- 1 zimbra zimbra 89 Jan 26 13:40 logswatchrc
-r--r--r-- 1 zimbra zimbra 1799 Jan 26 13:40 logswatchrc.in
-rw-r----- 1 zimbra zimbra 162 Dec 13 2007 manu.txt
drwxr-xr-x 2 zimbra zimbra 4096 Jan 30 12:37 msgs
-rw-r--r-- 1 root root 1128 Jan 30 12:46 my.cnf
-rw-r----- 1 zimbra zimbra 926 Sep 17 2007 my.cnf.4.5.6_GA
-rw-r--r-- 1 zimbra zimbra 1056 Apr 7 2008 my.cnf.4.5.7_GA
-rw-r--r-- 1 zimbra zimbra 1092 Apr 7 2008 my.cnf.5.0.4_GA
-rw-r--r-- 1 root root 631 Jan 30 12:46 my.logger.cnf
-r--r--r-- 1 zimbra zimbra 588 Sep 15 2007 my.logger.cnf.4.5.6_GA
-r--r--r-- 1 zimbra zimbra 588 Mar 21 2008 my.logger.cnf.4.5.7_GA
-r--r--r-- 1 zimbra zimbra 588 Jan 26 13:40 my.logger.cnf.5.0.4_GA
drwxr-x--- 2 zimbra zimbra 4096 Dec 13 2007 new
-rw-r----- 1 zimbra zimbra 117 Dec 13 2007 newtest.sh
drwxr-xr-x 4 zimbra zimbra 4096 Jan 30 12:37 nginx
-r--r--r-- 1 zimbra zimbra 19487 Jan 26 13:40 nginx.conf.in
-rw-r--r-- 1 zimbra zimbra 5374 Jan 30 12:40 nginx.crt
-rw-r--r-- 1 zimbra zimbra 887 Jan 30 12:40 nginx.key
-rw-r----- 1 zimbra zimbra 891 Sep 27 2007 perdition.key
-rw-r----- 1 zimbra zimbra 1099 Sep 27 2007 perdition.pem
-r--r--r-- 1 zimbra zimbra 45523 Jan 26 13:44 php.ini
-r--r----- 1 zimbra zimbra 266 Feb 5 10:15 postfix_header_checks
-rw------- 1 zimbra zimbra 12288 Feb 5 10:15 postfix_header_checks.db
-r--r--r-- 1 zimbra zimbra 488 Jan 26 13:40 postfix_header_checks.in
-r--r--r-- 1 zimbra zimbra 716 Feb 2 09:00 postfix_recipient_restrictions.cf
drwxr-xr-x 2 zimbra zimbra 4096 Jan 30 12:37 rights
-r--r----- 1 zimbra zimbra 1021 Jan 30 16:20 salocal.cf
-r--r--r-- 1 zimbra zimbra 1113 Jan 26 13:40 salocal.cf.in
-rw-r----- 1 zimbra zimbra 7562 Jan 30 16:19 slapd.conf
-rw-r----- 1 zimbra zimbra 7575 Jan 30 12:50 slapd.conf.in
-rw-r--r-- 1 zimbra zimbra 5374 Jan 30 12:40 slapd.crt
-rw-r--r-- 1 zimbra zimbra 887 Jun 5 2008 slapd.key
-rw-r--r-- 1 zimbra zimbra 5374 Jan 30 12:40 smtpd.crt
-rw-r--r-- 1 zimbra zimbra 887 Jan 30 12:40 smtpd.key
drwxr-xr-x 2 zimbra zimbra 4096 Jan 30 12:37 spamassassin
-rw-r----- 1 zimbra zimbra 1749 Jan 30 12:53 swatchrc
-r--r--r-- 1 zimbra zimbra 1746 Jan 26 13:40 swatchrc.in
-r--r--r-- 1 zimbra zimbra 26733 Jan 26 13:40 timezones.ics
-rw-r----- 1 zimbra zimbra 16425 Jun 17 2008 year8kids.zmp
-r--r--r-- 1 zimbra zimbra 21031 Jan 26 14:04 zimbra-contact-fields.xml
-r--r--r-- 1 zimbra zimbra 194 Jan 26 13:40 zimbra.ld.conf
-rw-r----- 1 zimbra zimbra 2295 Jan 30 12:51 zimbra.ldif
-r--r--r-- 1 zimbra zimbra 2247 Jan 26 13:40 zmlogrotate
-r--r--r-- 1 zimbra zimbra 8495 Jan 26 13:40 zmmta.cf
-rw-r----- 1 zimbra zimbra 7685 Jun 3 2008 zmssl.cnf
-r--r--r-- 1 zimbra zimbra 7716 Jan 26 13:40 zmssl.cnf.in
root@email:/opt/zimbra/conf#

$ cat ldap-scm.cf
cat: ldap-scm.cf: Permission denied
$
Reply With Quote
  #90 (permalink)  
Old 02-05-2009, 02:59 AM
Loyal Member
 
Posts: 93
Default

do you think the postfix group id is wrong some how?

in passwd

postfix:x:1003:1002::/opt/zimbra/postfix:/bin/sh

as postfix user
$ id
uid=1003(postfix) gid=1002(zimbra) groups=1002(zimbra)

/etc/groups

zimbra:x:1002:
postfix:x:1003:zimbra
postdrop:x:1004:

Many thanks Again
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.