From: Ondřej Surý Date: Wed, 29 Apr 2026 17:18:55 +0000 (+0200) Subject: fix: dev: Do not follow symlinks when chowning the NZD database X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce77138b5cf8b7d5e08a6260e4428f61a4d6673a;p=thirdparty%2Fbind9.git fix: dev: Do not follow symlinks when chowning the NZD database When `named` runs as root, the per-view NZD database file is chowned to the user `named` drops to. The chown call followed symlinks, so a symlink at the database path could redirect the ownership change to an unrelated file. The chown now refuses non-regular files and never follows symlinks. Closes #5905 Merge branch '5905-nzd-env-close-symlink-chown' into 'main' See merge request isc-projects/bind9!11907 --- ce77138b5cf8b7d5e08a6260e4428f61a4d6673a