ZxBackup File permissions
Results 1 to 5 of 5

Thread: ZxBackup File permissions

  1. #1
    Senior Member
    Join Date
    Oct 2014
    Posts
    89

    ZxBackup File permissions

    After install the latest ZeXtr5as 2.14.0 release I seem to have a slightly odd problem. I'm receiving a warning about permissions on the "slapd.conf" file, this is what I'm seeing:

    Code:
    Today, 04:01 - Error: ZeXtras Backup Notification, Backup Server Customizations failed.
    
    This is an automated notification from ZeXtras Backup about Backup Server Customizations.
    
    Operation Backup Server Customizations Failed.
    
    Operation Id: ade2fbe1-abb9-454c-ba14-7a4820089d0c
    Operation Host: mail.mydomain.com 
    Scheduled operation
    
    ZeXtras Suite Version: 2.14.0
    ZeXtras Suite commit: 35017459e0d889a03da2989ba20c696b1329d78d
    ZAL Version: 2.5.3
    ZAL commit: fdc015900e8ef613c096d04b03f7f51971d03234
    Zimbra version: 8.8.11_GA_3772 20190128052127 20190128-0541 FOSS
    
    Error : Missing read permissions on /opt/zimbra/common/etc/openldap/slapd.conf
    There have been no changes to this server other than the ZeXtras upgrade and the relevant permissions are as follows:

    Code:
    ls -l /opt/zimbra/common/etc/openldap/
    
    total 32
    -rw-r--r-- 1 root root  245 2018-09-18 13:09 ldap.conf
    -rw-r--r-- 1 root root  245 2018-09-18 13:09 ldap.conf.default
    drwxr-xr-x 2 root root 4096 2018-11-11 09:15 schema
    -rw------- 1 root root 2179 2018-09-18 13:10 slapd.conf
    -rw------- 1 root root 2179 2018-09-18 13:10 slapd.conf.default
    -rw------- 1 root root 2706 2018-09-18 13:10 slapd.ldif
    -rw------- 1 root root 2706 2018-09-18 13:10 slapd.ldif.default
    drwxrwxr-x 4 root root 4096 2018-12-31 19:25 zimbra
    Have I missed something obvious or do the permissions need changing on that file?
    Regards


    Bill

  2. #2
    CTO ZeXtras Employee d0s0n's Avatar
    Join Date
    Apr 2011
    Posts
    570
    Hi Phoenix,
    you just need a "chmod 644" on that file because the backup procedure run as zimbra user. If you install a brend new Zimbra 8.8.11 you will find the same 644 permission, so probably a zimbra patch changed something...

    Have a nice day.
    D0s0n
    ZeXtras Website # ZeXtras Wiki # ZeXtras Store

    Head of ZeXtras System Administrators

  3. #3
    Senior Member
    Join Date
    Oct 2014
    Posts
    89
    Quote Originally Posted by d0s0n View Post
    Hi Phoenix,
    you just need a "chmod 644" on that file because the backup procedure run as zimbra user. If you install a brend new Zimbra 8.8.11 you will find the same 644 permission, so probably a zimbra patch changed something...

    Have a nice day.
    D0s0n
    Strange but thanks for the quick fix.
    Regards


    Bill

  4. #4
    Junior Member
    Join Date
    Mar 2017
    Posts
    1
    Hello,
    Small precision the zmfixperms command does not change anything.

    Thanks for the workaround.

  5. #5
    Active Member
    Join Date
    Mar 2015
    Posts
    5
    Quote Originally Posted by d0s0n View Post
    Hi Phoenix,
    you just need a "chmod 644" on that file because the backup procedure run as zimbra user. If you install a brend new Zimbra 8.8.11 you will find the same 644 permission, so probably a zimbra patch changed something...

    Have a nice day.
    D0s0n
    Hello,

    Thank you for the tip. I've done two fresh installations with Zimbra 8.8.11 and 8.8.12 and it didn't fix the file permission.

    Best regards.
    Fabio S. Schmidt

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •