www-mirrors mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmed RAHAL <ara...@iweb.com>
Subject Re: /incubator/syncope/ Permission denied
Date Mon, 30 Jul 2012 19:50:08 GMT

Le 2012-07-27 09:11, Heiko Richter a écrit :
> Am 2012-07-27 09:41, schrieb Henk P. Penning:


> Of cource there is, but it would just be a quick and dirty bugfix not
> getting rid of the original problem. And it would put very heavy loads
> on cpu and filesystem on the archive-master. There are many ways to do
> that, one of them would be running this little script regularely in cron:
>   chown [apache-user]:[apache-group] [/path/to/apache/root/] -R
>   find [/path/to/apache/root/] -type d -exec chmod 755 {} \;
>   find [/path/to/apache/root/] -type f -exec chmod 644 {} \;
> But as I stated before running that script through cron in regular
> intervals would put cpu and fs under quite a lot of stress, depending on
> the underlying hardware and the average load the server has now so it
> could only be a short term solution to automate fixing wrong modes
> and/or ownerships.

As a quick&dirty fix this would do it.
As for the load, 'ionice' would help avoiding server load.


Ahmed Rahal <arahal@iweb.com> / iWeb Technologies
Spécialiste de l'Architecture TI
/ IT Architecture Specialist

View raw message