ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] (gcc-gnat) repocop-lintian: bad-permissions-for-ali-file
Date: Tue, 6 May 2008 13:21:37 +0400
Message-ID: <20080506092137.GB7336@wo.int.altlinux.org> (raw)
In-Reply-To: <20080506073131.GA6764@dad.imath.kiev.ua>

[-- Attachment #1: Type: text/plain, Size: 961 bytes --]

On Tue, May 06, 2008 at 10:31:31AM +0300, Igor Vlasenko wrote:
> Господа, есть ругань на наши gcc-gnat.
> 
> Tag: bad-permissions-for-ali-file
> Type: warning
> Info: Ada Library Information (*.ali) files are required to be read-only
>  (mode 0444) by GNAT. 

Надо поправить тест, поскольку права доступа 0644 вполне адекватны
приведённому ниже обоснованию.  Кроме того, на процессы с fsuid==0
эти ограничения прав доступа обычно не распространяются.

>  If at least one user can write the *.ali file, GNAT considers whether
>  or not to recompile the corresponding source file.  Such recompilation
>  would fail because normal users don't have write permission on the
>  files.  Moreover, such recompilation would defeat the purpose of
>  library packages, which provide *.a and *.so libraries to link against).
> 
> gcc3.4-gnat-3.4.5-alt7.x86_64
> gcc4.1-gnat-4.1.2-alt2.x86_64
> i386-mingw32msvc-gcc-gnat-3.4.5-alt2.x86_64


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2008-05-06  9:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-06  7:31 Igor Vlasenko
2008-05-06  9:21 ` Dmitry V. Levin [this message]
2008-05-06  9:32   ` Igor Vlasenko
2008-05-06 15:18 ` Alexey Tourbin
2008-05-06 18:08   ` Mikhail Gusarov
2008-05-06 18:49     ` Alexey Tourbin
2008-05-06 20:04       ` Mikhail Gusarov
2008-05-06 20:59         ` Dmitry V. Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080506092137.GB7336@wo.int.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git