]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
convert-dns-settings: Fix call for chmod
authorArne Fitzenreiter <arne_f@ipfire.org>
Tue, 28 Jan 2020 19:19:06 +0000 (19:19 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 28 Jan 2020 19:19:06 +0000 (19:19 +0000)
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
src/scripts/convert-dns-settings

index 073356f50ce4f22d9024ba773b7841dbbfa381c3..f70d1382a33bbec59f97f5d30456e2a82e62c235 100755 (executable)
@@ -120,7 +120,7 @@ main() {
        chown nobody:nobody /var/ipfire/dns/servers
 
        # Make DHCP leases readable for nobody
-       chown 644 /etc/unbound/dhcp-leases.conf
+       chmod 644 /etc/unbound/dhcp-leases.conf
 }
 
 main "$@" || exit $?