2010-07-19 Ramon Novoa <rnovoa@artica.es>

* DEBIAN/make_deb_package.sh,
          pandora_server_installer,
          pandora_server.spec: Set proper permission for the md5 and
          collections directories.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3026 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Ramon Novoa 2010-07-19 10:49:40 +00:00
parent 64e3e99fad
commit c2e9130c01
4 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2010-07-19 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/make_deb_package.sh,
pandora_server_installer,
pandora_server.spec: Set proper permission for the md5 and
collections directories.
2010-07-19 Ramon Novoa <rnovoa@artica.es> 2010-07-19 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/make_deb_package.sh, * DEBIAN/make_deb_package.sh,

View File

@ -72,7 +72,9 @@ then
mkdir -p temp_package/var/spool/pandora/data_in mkdir -p temp_package/var/spool/pandora/data_in
mkdir -p temp_package/var/spool/pandora/data_in/conf mkdir -p temp_package/var/spool/pandora/data_in/conf
mkdir -p temp_package/var/spool/pandora/data_in/md5 mkdir -p temp_package/var/spool/pandora/data_in/md5
chmod 770 temp_package/var/spool/pandora/data_in/md5
mkdir -p temp_package/var/spool/pandora/data_in/collections mkdir -p temp_package/var/spool/pandora/data_in/collections
chmod 770 temp_package/var/spool/pandora/data_in/collections
mkdir -p temp_package/var/log/pandora/ mkdir -p temp_package/var/log/pandora/
mkdir -p temp_package/usr/share/pandora_server/conf/ mkdir -p temp_package/usr/share/pandora_server/conf/
mkdir -p temp_package/usr/lib/perl5/ mkdir -p temp_package/usr/lib/perl5/

View File

@ -162,6 +162,8 @@ rm -Rf /usr/share/man/man1/tentacle_server.1.gz
%defattr(770,pandora,www) %defattr(770,pandora,www)
/var/spool/pandora /var/spool/pandora
/var/spool/pandora/data_in/md5
/var/spool/pandora/data_in/collections
%defattr(750,pandora,root) %defattr(750,pandora,root)
/etc/pandora /etc/pandora

View File

@ -200,7 +200,9 @@ perl-TimeDate perl-XML-Simple perl-libwww-perl mysql-client"
mkdir $PANDORA_SPOOL/data_in 2> /dev/null mkdir $PANDORA_SPOOL/data_in 2> /dev/null
mkdir $PANDORA_SPOOL/data_in/conf 2> /dev/null mkdir $PANDORA_SPOOL/data_in/conf 2> /dev/null
mkdir $PANDORA_SPOOL/data_in/md5 2> /dev/null mkdir $PANDORA_SPOOL/data_in/md5 2> /dev/null
chmod 770 $PANDORA_SPOOL/data_in/md5
mkdir $PANDORA_SPOOL/data_in/collections 2> /dev/null mkdir $PANDORA_SPOOL/data_in/collections 2> /dev/null
chmod 770 $PANDORA_SPOOL/data_in/collections
mkdir $PANDORA_LOG 2> /dev/null mkdir $PANDORA_LOG 2> /dev/null
echo "Giving proper permission to /var/spool/pandora" echo "Giving proper permission to /var/spool/pandora"