Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-22958

chown: warning: '.' should be ':': ‘www-data.root’

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • None
    • 7.0.0alpha1
    • Packages (C)
    • None
    • Debian 12
    • Sprint 101 (Jun 2023), Sprint 102 (Jul 2023), Sprint 103 (Aug 2023)

      There seems to be a typo in the debian zabbix-frontend-php package postinst script
       

      #!/bin/sh -e
      if [ "$1" = "configure" ]; then
          if [ -d /etc/zabbix/web ]; then
             chown www-data.root /etc/zabbix/web
             chmod 755 /etc/zabbix/web
          fi
      
      ...
      

       
      Causing a warning like this when I install the package:

      Setting up zabbix-frontend-php (1:7.0.0~alpha1-1+debian12) ...
      chown: warning: '.' should be ':': ‘www-data.root’

      I tried searching jira for this warning and found nothing.
      I hope it is OK to report these minor warnings like this.
       

       

       

            yurii Jurijs Klopovskis
            user185953 user185953
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: