From b7ff54f8b531b4c0805ce4241a40e08c83fee741 Mon Sep 17 00:00:00 2001 From: slerena Date: Mon, 21 Feb 2011 12:09:27 +0000 Subject: [PATCH] 2011-02-21 Sancho lerena * DEBIAN/postinst: Fixed bad ownership for /inconming/* subdirs. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3940 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/ChangeLog | 4 ++++ pandora_server/DEBIAN/postinst | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index eff3f91822..6427267e37 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,7 @@ +2011-02-21 Sancho lerena + + * DEBIAN/postinst: Fixed bad ownership for /inconming/* subdirs. + 2011-02-18 Ramon Novoa * lib/PandoraFMS/Core.pm: Verify that there is a data server running diff --git a/pandora_server/DEBIAN/postinst b/pandora_server/DEBIAN/postinst index 804496f5ab..492dcd99df 100755 --- a/pandora_server/DEBIAN/postinst +++ b/pandora_server/DEBIAN/postinst @@ -66,7 +66,7 @@ chown -R pandora:root /home/pandora chmod 755 /usr/bin/tentacle_server echo "Giving proper permission to /var/spool/pandora" -chown -R pandora /var/spool/pandora/ +chown -R pandora:www-data /var/spool/pandora/ echo "Creating setup directory in /etc/pandora" mkdir /etc/pandora 2> /dev/null