From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00 autolearn=unavailable version=3.2.3 Date: Tue, 6 May 2008 12:32:09 +0300 From: Igor Vlasenko To: ALT Linux Team development discussions Message-ID: <20080506093209.GA8775@dad.imath.kiev.ua> References: <20080506073131.GA6764@dad.imath.kiev.ua> <20080506092137.GB7336@wo.int.altlinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080506092137.GB7336@wo.int.altlinux.org> User-Agent: Mutt/1.5.17 (2007-11-01) Received-SPF: pass (dad.imath.kiev.ua: domain of vlasenko@dad.imath.kiev.ua designates 127.0.0.1 as permitted sender) receiver=dad.imath.kiev.ua; client-ip=127.0.0.1; helo=dad.imath.kiev.ua; envelope-from=vlasenko@dad.imath.kiev.ua; x-software=spfmilter 0.95 http://www.acme.com/software/spfmilter/ with libspf2; Cc: ldv@altlinux.org Subject: Re: [devel] (gcc-gnat) repocop-lintian: bad-permissions-for-ali-file X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2008 09:32:21 -0000 Archived-At: List-Archive: List-Post: On Tue, May 06, 2008 at 01:21:37PM +0400, Dmitry V. Levin wrote: > Надо поправить тест, поскольку права доступа 0644 вполне адекватны > приведённому ниже обоснованию. Кроме того, на процессы с fsuid==0 > эти ограничения прав доступа обычно не распространяются. Я вот не уверен. Вот что говорит народ: http://osdir.com/ml/debian.devel.policy/2004-02/msg00027.html ill Allombert writes: > Why is it not sufficient for the file to be `write-protected' for the > user running gnat instead of all users including root ? Or if it is, why > when running as root cannot it add the compiled files in the same > directory ? If it is not, why not just fix the test ? The file must be 0444, not 0644. The reason for this is within GNAT itself; I think it has to do with portability (with Windows, OpenVMS). If we would change this for Debian, we would become incompatible with the other platforms and distributions where GNAT runs. Одним словом, надо выяснить. -- Dr. Igor Vlasenko -------------------- Topology Department Institute of Math Kiev, Ukraine