Browse Source

../var/bind has to be owned by root otherwise named won't start up

Christoph Schug 24 years ago
parent
commit
9a67c1fa82
1 changed files with 3 additions and 2 deletions
  1. 3 2
      bind/bind.spec

+ 3 - 2
bind/bind.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [REL]
 Group:        DNS
 License:      ISC
 Version:      9.2.1
-Release:      20020502
+Release:      20020614
 
 #   list of sources
 Source0:      ftp://ftp.isc.org/isc/bind9/%{version}/bind-%{version}.tar.gz
@@ -133,7 +133,8 @@ AutoReqProv:  no
     %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
         %{l_files_std} \
         '%config %{l_prefix}/etc/bind/*.conf' \
-        '%config %{l_prefix}/etc/bind/named.db/*'
+        '%config %{l_prefix}/etc/bind/named.db/*' \
+        '%dir %attr(-,root,%{l_mgrp}) %{l_prefix}/var/bind'
 
 %files -f files