]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6252 rpmbuild: more file permission tweaks
authorChris Rienzo <chris.rienzo@grasshopper.com>
Mon, 24 Feb 2014 16:24:07 +0000 (11:24 -0500)
committerChris Rienzo <chris.rienzo@grasshopper.com>
Mon, 24 Feb 2014 16:24:07 +0000 (11:24 -0500)
freeswitch.spec

index faace274f0bc4ea536cce89a0938e4046c1cc050..82cddaf8c09252d02e06c118b05e27ca8087f015 100644 (file)
@@ -1657,11 +1657,11 @@ fi
 %dir %attr(0750, freeswitch, daemon) %{sysconfdir}
 %dir %attr(0750, freeswitch, daemon) %{LOCALSTATEDIR}
 %dir %attr(0750, freeswitch, daemon) %{DBDIR}
-%dir %attr(0750, freeswitch, daemon) %{GRAMMARDIR}
-%dir %attr(0750, freeswitch, daemon) %{HTDOCSDIR}
+%dir %attr(0755, -, -) %{GRAMMARDIR}
+%dir %attr(0755, -, -) %{HTDOCSDIR}
 %dir %attr(0750, freeswitch, daemon) %{logfiledir}
 %dir %attr(0750, freeswitch, daemon) %{runtimedir}
-%dir %attr(0750, freeswitch, daemon) %{SCRIPTDIR}
+%dir %attr(0755, -, -) %{SCRIPTDIR}
 #
 #################################### Config Directory Structure #######################################################
 #
@@ -1682,19 +1682,15 @@ fi
 #
 #################################### Grammar Directory Structure #####################################################
 #
-%dir %attr(0750, freeswitch, daemon) %{GRAMMARDIR}/model
-%dir %attr(0750, freeswitch, daemon) %{GRAMMARDIR}/model/communicator
-%ifos linux
-%config(noreplace) %attr(0644, freeswitch, daemon) /etc/monit.d/freeswitch.monitrc
-%endif
-
+%dir %attr(0755, -, -) %{GRAMMARDIR}/model
+%dir %attr(0755, -, -) %{GRAMMARDIR}/model/communicator
 
 ######################################################################################################################
 #
-#                                              Other Fíles
+#                                              Other Files
 #
 ######################################################################################################################
-%config(noreplace) %attr(0640, freeswitch, daemon) %{HTDOCSDIR}/*
+%config(noreplace) %attr(0644,-,-) %{HTDOCSDIR}/*
 %ifos linux
 /etc/rc.d/init.d/freeswitch
 /etc/sysconfig/freeswitch
@@ -1704,7 +1700,9 @@ fi
 %endif
 %ifos linux
 %dir %attr(0750,-,-) /etc/monit.d
+%config(noreplace) %attr(0644,-,-) /etc/monit.d/freeswitch.monitrc
 %endif
+
 ######################################################################################################################
 #
 #                                              Binaries
@@ -1857,8 +1855,8 @@ fi
 ######################################################################################################################
 #                                              Grammar Files
 ######################################################################################################################
-%config(noreplace) %attr(0640, freeswitch, daemon) %{GRAMMARDIR}/default.dic
-%config(noreplace) %attr(0640, freeswitch, daemon) %{GRAMMARDIR}/model/communicator/*
+%config(noreplace) %attr(0644, -, -) %{GRAMMARDIR}/default.dic
+%config(noreplace) %attr(0644, -, -) %{GRAMMARDIR}/model/communicator/*
 
 ### END OF config-vanilla
 
@@ -1979,7 +1977,7 @@ fi
 
 ######################################################################################################################
 #
-#                                              ASR RRS Packages
+#                                              ASR TTS Packages
 #
 ######################################################################################################################
 %files asrtts-flite
@@ -2062,7 +2060,7 @@ fi
 ######################################################################################################################
 
 #%files directory-ldap
-#%{MODINSTDIR}/mod_theora.so*
+#%{MODINSTDIR}/mod_ldap.so*
 
 ######################################################################################################################
 #