diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 9b6e6e57ed..5c0dd7e812 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,7 @@ +2011-09-22 Junichi Satoh + + * pandora_server_installer: Fixed invalid group settings. + 2011-09-15 Vanessa Gil * pandora_server/util/pandora_manage.pl: Fixed bad behaviour of several diff --git a/pandora_server/pandora_server_installer b/pandora_server/pandora_server_installer index ee4751bf25..7578d41055 100755 --- a/pandora_server/pandora_server_installer +++ b/pandora_server/pandora_server_installer @@ -216,15 +216,21 @@ perl-TimeDate perl-XML-Simple perl-XML-Twig perl-libwww-perl mysql-client perl-S id -g wwwrun 2> /dev/null if [ $? -eq 0 ] then - chown -R pandora:www $PANDORA_SPOOL + chown -R pandora:wwwrun $PANDORA_SPOOL else - id -g apache 2> /dev/null + id -g www 2> /dev/null if [ $? -eq 0 ] then - chown -R pandora:apache $PANDORA_SPOOL + chown -R pandora:www $PANDORA_SPOOL else - echo "No web server user found, some functionality might not perform correctly" - chown -R pandora:root $PANDORA_SPOOL + id -g apache 2> /dev/null + if [ $? -eq 0 ] + then + chown -R pandora:apache $PANDORA_SPOOL + else + echo "No web server user found, some functionality might not perform correctly" + chown -R pandora:root $PANDORA_SPOOL + fi fi fi fi