[ZBX-22958] chown: warning: '.' should be ':': ‘www-data.root’ Created: 2023 Jun 13  Updated: 2024 Jul 17  Resolved: 2023 Aug 31

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Packages (C)
Affects Version/s: 7.0.0alpha1
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: user185953 Assignee: Jurijs Klopovskis
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Debian 12


Issue Links:
Duplicate
is duplicated by ZBX-23314 chown: warning at Debian 12 package z... Closed
Team: Team B
Sprint: Sprint 101 (Jun 2023), Sprint 102 (Jul 2023), Sprint 103 (Aug 2023)

 Description   

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.
 

 

 



 Comments   
Comment by user185953 [ 2023 Jun 13 ]

Err, how can I fix the "Component" field? It should be Packages(C), not Frontend(F).

Comment by Jurijs Klopovskis [ 2023 Jun 13 ]

Err, how can I fix the "Component" field? It should be Packages(C), not Frontend(F).

I've changed it.

Thanks for the report!
I'll have a look.

Comment by Jurijs Klopovskis [ 2023 Aug 31 ]

Fixed in pre 7.0.0alpha5

Comment by Markku Leiniö [ 2024 Feb 18 ]

Please also fix this in 6.0 LTS.

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

Comment by LivreAcesso.Pro [ 2024 Feb 26 ]
A preparar para desempacotar .../zabbix-sql-scripts_1%3a6.0.27-1+debian12_all.deb ...
A descompactar zabbix-sql-scripts (1:6.0.27-1+debian12) sobre (1:6.0.26-1+debian12) ...
Configurando zabbix-sql-scripts (1:6.0.27-1+debian12) ...
Configurando zabbix-frontend-php (1:6.0.27-1+debian12) ...
chown: warning: '.' should be ':': “www-data.root”
Configurando zabbix-server-pgsql (1:6.0.27-1+debian12) ...
Configurando zabbix-nginx-conf (1:6.0.27-1+debian12) ...
Configurando zabbix-agent (1:6.0.27-1+debian12) ...
A processar 'triggers' para man-db (2.11.2-2) ...
Comment by LivreAcesso.Pro [ 2024 Apr 10 ]

Same on 6.0.28.

Comment by LivreAcesso.Pro [ 2024 Jul 17 ]
Setting up python3-idna (3.3-1+deb12u1) ...
Setting up zabbix-frontend-php (1:6.0.32-1+debian12) ...
chown: warning: '.' should be ':': ‘www-data.root’
Setting up libk5crypto3:amd64 (1.20.1-2+deb12u2) ...
Setting up libltdl7:amd64 (2.4.7-7~deb12u1) ...
Setting up zabbix-nginx-conf (1:6.0.32-1+debian12) ...
Generated at Thu Apr 24 08:19:06 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.