Warning messages about file permissions started appearing in daily report

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Chicken76
Posts: 21
Joined: Sat Sep 13, 2014 2:28 am

Warning messages about file permissions started appearing in daily report

Postby Chicken76 » Mon May 13, 2013 2:40 am

This warning message appeared in the daily mail report two days ago:

Warnings

--------

postfix-script (total: 5)

3 not owned by root: /opt/zimbra/postfix-2.10-20120422.2z/conf/ma...

2 not owned by root: /opt/zimbra/postfix-2.10-20120422.2z/conf/ta...


/var/log/mail.log showed:

May 12 11:11:27 mail postfix/postfix-script[2798]: warning: not owned by root: /opt/zimbra/postfix-2.10-20120422.2z/conf/main.cf

May 12 11:11:27 mail postfix/postfix-script[2802]: warning: not owned by root: /opt/zimbra/postfix-2.10-20120422.2z/conf/master.cf

May 12 11:11:27 mail postfix/postfix-script[2804]: warning: not owned by root: /opt/zimbra/postfix-2.10-20120422.2z/conf/master.cf.in

May 12 11:11:27 mail postfix/postfix-script[2806]: warning: not owned by root: /opt/zimbra/postfix-2.10-20120422.2z/conf/tag_as_foreign.re

May 12 11:11:27 mail postfix/postfix-script[2809]: warning: not owned by root: /opt/zimbra/postfix-2.10-20120422.2z/conf/tag_as_originating.re

The server was running Zimbra 8.0.0_GA.
Yesterday I upgraded to Zimbra 8.0.3_GA_5664 (build 20130305090204). Last night's report still shows this:

Warnings

--------

postfix-script (total: 10)

6 not owned by root: /opt/zimbra/postfix-2.10-20120422.2z/conf/ma...

4 not owned by root: /opt/zimbra/postfix-2.10-20120422.2z/conf/ta...

/var/log/mail.log still shows:

May 13 07:29:15 mail /postfix-script[2752]: warning: not owned by root: /opt/zimbra/postfix-2.10-20121007.2z/conf/main.cf

May 13 07:29:15 mail /postfix-script[2753]: warning: not owned by root: /opt/zimbra/postfix-2.10-20121007.2z/conf/master.cf

May 13 07:29:15 mail /postfix-script[2754]: warning: not owned by root: /opt/zimbra/postfix-2.10-20121007.2z/conf/master.cf.in

May 13 07:29:15 mail /postfix-script[2755]: warning: not owned by root: /opt/zimbra/postfix-2.10-20121007.2z/conf/tag_as_foreign.re

May 13 07:29:15 mail /postfix-script[2756]: warning: not owned by root: /opt/zimbra/postfix-2.10-20121007.2z/conf/tag_as_originating.re

File permissions in that folder look like this:

root@mail:/opt/zimbra/postfix-2.10-20121007.2z/conf# ls -l

total 220

-rw-r--r-- 1 root postfix 20876 Feb 8 01:45 access

-rw-r--r-- 1 root postfix 8829 Feb 8 01:45 aliases

-rw-r--r-- 1 root postfix 3547 Feb 8 01:45 bounce.cf.default

-rw-r--r-- 1 root postfix 11681 Feb 8 01:45 canonical

-rw-r--r-- 1 root postfix 9904 Feb 8 01:45 generic

-rw-r--r-- 1 root postfix 21545 Feb 8 01:45 header_checks

-rw-r--r-- 1 root postfix 11942 Feb 8 01:45 LICENSE

-rw-r--r-- 1 zimbra zimbra 2947 May 13 07:28 main.cf

-rw-r--r-- 1 root postfix 32659 Feb 8 01:45 main.cf.default

-rw-r--r-- 1 root postfix 3305 Feb 8 01:45 makedefs.out

-r--r----- 1 zimbra zimbra 7803 May 13 07:28 master.cf

-rw-r--r-- 1 zimbra zimbra 8295 Mar 5 19:21 master.cf.in

-rw-r--r-- 1 root postfix 6816 Feb 8 01:45 relocated

-r--r----- 1 zimbra zimbra 42 May 13 07:28 tag_as_foreign.re

-rw-r--r-- 1 root postfix 59 Mar 5 19:21 tag_as_foreign.re.in

-r--r----- 1 zimbra zimbra 42 May 13 07:28 tag_as_originating.re

-rw-r--r-- 1 root postfix 59 Mar 5 19:21 tag_as_originating.re.in

-rw-r--r-- 1 root postfix 1629 Feb 8 01:45 TLS_LICENSE

-rw-r--r-- 1 root postfix 12549 Feb 8 01:45 transport

-rw-r--r-- 1 root postfix 12494 Feb 8 01:45 virtual



My question is: do permission changes like these happen quasi-normally or do I need to worry about this?
Would you recommend changing the permissions of those files?


phoenix
Ambassador
Ambassador
Posts: 26446
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Warning messages about file permissions started appearing in daily report

Postby phoenix » Mon May 13, 2013 4:53 am

[quote user="Chicken76"]Would you recommend changing the permissions of those files?[/QUOTE]No, you should never modify those permissions, there's nothing wrong with them and the message is just a warning.
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
Chicken76
Posts: 21
Joined: Sat Sep 13, 2014 2:28 am

Warning messages about file permissions started appearing in daily report

Postby Chicken76 » Thu May 16, 2013 4:17 am

Thank you.

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 7 guests