[2/2] urlfilter: Fix syntax when calling chown

Message ID 20260222190753.10632-2-stefan.schantl@ipfire.org
State Accepted
Commit 823149495e8ee9f3ac28699d57b0a4d41f2a4670
Headers
Series [1/2] urlfiler: Cleanup list directory during update |

Commit Message

Stefan Schantl 22 Feb 2026, 7:07 p.m. UTC
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 config/urlfilter/autoupdate.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Patch

diff --git a/config/urlfilter/autoupdate.pl b/config/urlfilter/autoupdate.pl
index 05db6e339..f051fec42 100644
--- a/config/urlfilter/autoupdate.pl
+++ b/config/urlfilter/autoupdate.pl
@@ -119,12 +119,12 @@  unless ($blacklist_url eq '')
 			&cleanupdbdir();
 			system("cp -r $target/blacklists/* $dbdir");
 
-			system("chown -R nobody.nobody $dbdir");
+			system("chown -R nobody:nobody $dbdir");
 
 			&setpermissions ($dbdir);
 
 			system("touch $updflagfile");
-			system("chown nobody.nobody $updflagfile");
+			system("chown nobody:nobody $updflagfile");
 
 			system("/etc/init.d/squid restart");