Parcourir la source

try to fix permissions

Ralf S. Engelschall il y a 22 ans
Parent
commit
162d35285a
1 fichiers modifiés avec 9 ajouts et 1 suppressions
  1. 9 1
      rt/rt.spec

+ 9 - 1
rt/rt.spec

@@ -48,7 +48,7 @@ Distribution: OpenPKG [EVAL]
 Group:        Database
 License:      GPL
 Version:      %{V_here}
-Release:      20031120
+Release:      20031125
 
 #   package options
 %option       with_color_primary   336699
@@ -332,6 +332,14 @@ AutoReqProv:  no
         -e 's;#dddddd;#%{with_color_secondary};g' \
         `find $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/WebRT \
               -type f -print | grep -v gif | grep -v jpg | grep -v .orig`
+    find $RPM_BUILD_ROOT%{l_prefix}/libexec/rt \
+          -type f -name "*.html" -print | xargs chmod 644
+    find $RPM_BUILD_ROOT%{l_prefix}/libexec/rt \
+          -type f -name "*.pm" -print | xargs chmod 644
+    find $RPM_BUILD_ROOT%{l_prefix}/libexec/rt \
+          -type f -print | xargs chmod a+r
+    find $RPM_BUILD_ROOT%{l_prefix}/libexec/rt \
+          -type d -print | xargs chmod 755
 
     #   determine installation files
     %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \