Merge branch 'ent-1068-permisos-por-defecto-apache-var-log-pandora' into 'develop'
Fixed permissions in default log folders See merge request artica/pandorafms!1510
This commit is contained in:
commit
d8b219802c
|
@ -82,6 +82,7 @@ then
|
|||
mkdir -p temp_package/var/spool/pandora/data_in/trans
|
||||
chmod 770 temp_package/var/spool/pandora/data_in/trans
|
||||
mkdir -p temp_package/var/log/pandora/
|
||||
chmod 754 temp_package/var/log/pandora/
|
||||
mkdir -p temp_package/usr/share/pandora_server/conf/
|
||||
mkdir -p temp_package/usr/share/tentacle_server/conf/
|
||||
mkdir -p temp_package/usr/lib/perl5/
|
||||
|
|
|
@ -176,10 +176,12 @@ exit 0
|
|||
%{_bindir}/pandora_exec
|
||||
%{_bindir}/pandora_server
|
||||
%{_bindir}/tentacle_server
|
||||
%dir %{_localstatedir}/log/pandora
|
||||
%dir %{_sysconfdir}/pandora
|
||||
%dir %{_localstatedir}/spool/pandora
|
||||
|
||||
%defattr(-,pandora,root, 754)
|
||||
%dir %{_localstatedir}/log/pandora
|
||||
|
||||
%defattr(600,root,root)
|
||||
/etc/pandora/pandora_server.conf.new
|
||||
|
||||
|
|
|
@ -317,7 +317,7 @@ install () {
|
|||
chmod 2770 $DESTDIR$PANDORA_SPOOL/data_in/trans
|
||||
mkdir -p $DESTDIR$PANDORA_LOG 2> /dev/null
|
||||
chown -R pandora $DESTDIR$PANDORA_LOG 2> /dev/null
|
||||
chmod 2770 $DESTDIR$PANDORA_LOG 2> /dev/null
|
||||
chmod 2774 $DESTDIR$PANDORA_LOG 2> /dev/null
|
||||
|
||||
echo "Giving proper permission to /var/spool/pandora"
|
||||
for group in "www-data" wwwrun www apache
|
||||
|
|
Loading…
Reference in New Issue