فهرست منبع

switch named.db directory (and its files for consistency) to 'restricted-user' group access in order to allow BIND to store slave zone files there without trouble

Ralf S. Engelschall 21 سال پیش
والد
کامیت
af889f17a8
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      bind/bind.spec

+ 3 - 2
bind/bind.spec

@@ -38,7 +38,7 @@ Class:        BASE
 Group:        DNS
 License:      ISC
 Version:      %{V_bind}
-Release:      20041018
+Release:      20041027
 
 #   package options
 %option       with_dlz            no
@@ -258,7 +258,8 @@ Conflicts:    bind8, powerdns
     %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
         %{l_files_std} \
         '%config %attr(640,%{l_musr},%{l_rgrp}) %{l_prefix}/etc/bind/*.conf' \
-        '%config %{l_prefix}/etc/bind/named.db/*' \
+        '%config %attr(775,%{l_musr},%{l_rgrp}) %{l_prefix}/etc/bind/named.db' \
+        '%config %attr(644,%{l_musr},%{l_rgrp}) %{l_prefix}/etc/bind/named.db/*' \
         '%dir %attr(-,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/bind'
 
 %files -f files