Return-Path: X-Original-To: apmail-mirrors-archive@www.apache.org Delivered-To: apmail-mirrors-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ABDDFD970 for ; Mon, 30 Jul 2012 21:09:09 +0000 (UTC) Received: (qmail 13617 invoked by uid 500); 30 Jul 2012 21:09:09 -0000 Delivered-To: apmail-mirrors-archive@apache.org Received: (qmail 13559 invoked by uid 500); 30 Jul 2012 21:09:09 -0000 Mailing-List: contact mirrors-help@apache.org; run by ezmlm Precedence: bulk Reply-To: mirrors@apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list mirrors@apache.org Delivered-To: moderator for mirrors@apache.org Received: (qmail 70084 invoked by uid 99); 30 Jul 2012 19:50:37 -0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 70.38.127.74 is neither permitted nor denied by domain of arahal@iweb.com) X-ASG-Debug-ID: 1343677810-04a498685ed06480001-B0HXDE X-Barracuda-Envelope-From: arahal@iweb.com X-Barracuda-Apparent-Source-IP: 184.107.120.4 X-ASG-Whitelist: Client Message-ID: <5016E570.7040902@iweb.com> Date: Mon, 30 Jul 2012 15:50:08 -0400 From: Ahmed RAHAL User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: Subject: Re: /incubator/syncope/ Permission denied References: <0406efc2ac23f24eb3e95c5840ca264e@mail.heikorichter.name> X-ASG-Orig-Subj: Re: /incubator/syncope/ Permission denied In-Reply-To: <0406efc2ac23f24eb3e95c5840ca264e@mail.heikorichter.name> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [172.16.192.20] X-Barracuda-Connect: UNKNOWN[184.107.120.4] X-Barracuda-Start-Time: 1343677810 X-Barracuda-URL: http://70.38.127.74:8000/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at privatedns.com X-Virus-Checked: Checked by ClamAV on apache.org Hi, 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. HTH, -- ================================================= Ahmed Rahal / iWeb Technologies Spécialiste de l'Architecture TI / IT Architecture Specialist =================================================