2011-09-22 Junichi Satoh <junichi@rworks.jp>
* pandora_server_installer: Fixed invalid group settings. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4979 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
094b4e06f7
commit
600a40c30f
|
@ -1,3 +1,7 @@
|
|||
2011-09-22 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* pandora_server_installer: Fixed invalid group settings.
|
||||
|
||||
2011-09-15 Vanessa Gil <vanessa.gil@artica.es>
|
||||
|
||||
* pandora_server/util/pandora_manage.pl: Fixed bad behaviour of several
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue