From c2e9130c01e9ee150f3ea8e2eec94e4002d6a281 Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Mon, 19 Jul 2010 10:49:40 +0000 Subject: [PATCH] 2010-07-19 Ramon Novoa * 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 --- pandora_server/ChangeLog | 7 +++++++ pandora_server/DEBIAN/make_deb_package.sh | 2 ++ pandora_server/pandora_server.spec | 2 ++ pandora_server/pandora_server_installer | 2 ++ 4 files changed, 13 insertions(+) diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index d39d01d035..527838aaf6 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,10 @@ +2010-07-19 Ramon Novoa + + * 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 * DEBIAN/make_deb_package.sh, diff --git a/pandora_server/DEBIAN/make_deb_package.sh b/pandora_server/DEBIAN/make_deb_package.sh index ef91b2c020..d3b1f55a3b 100644 --- a/pandora_server/DEBIAN/make_deb_package.sh +++ b/pandora_server/DEBIAN/make_deb_package.sh @@ -72,7 +72,9 @@ then 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/md5 + chmod 770 temp_package/var/spool/pandora/data_in/md5 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/usr/share/pandora_server/conf/ mkdir -p temp_package/usr/lib/perl5/ diff --git a/pandora_server/pandora_server.spec b/pandora_server/pandora_server.spec index 9809fd0e73..62f09fa9af 100644 --- a/pandora_server/pandora_server.spec +++ b/pandora_server/pandora_server.spec @@ -162,6 +162,8 @@ rm -Rf /usr/share/man/man1/tentacle_server.1.gz %defattr(770,pandora,www) /var/spool/pandora +/var/spool/pandora/data_in/md5 +/var/spool/pandora/data_in/collections %defattr(750,pandora,root) /etc/pandora diff --git a/pandora_server/pandora_server_installer b/pandora_server/pandora_server_installer index f0a5a15aa4..907d7a3206 100755 --- a/pandora_server/pandora_server_installer +++ b/pandora_server/pandora_server_installer @@ -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/conf 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 + chmod 770 $PANDORA_SPOOL/data_in/collections mkdir $PANDORA_LOG 2> /dev/null echo "Giving proper permission to /var/spool/pandora"