[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#232448: debian-policy: Ada Library Information files must be read-only



On Thu, Feb 12, 2004 at 09:01:03PM +0100, ludovic.brenta@insalien.org wrote:

> The packages gnat, gnat-3.2, gnat-3.3 and several Ada library packages
> provide Ada Library Information (*.ali) files to accompany the
> compiled (static and shared) libraries.  The Ada compiler requires
> these files to be read-only for all users; otherwise, it tries to
> recompile the corresponding source files, and fails because it cannot
> place the object files in the same directory as the *.ali files.

> The Policy should state that all packages that install *.ali files
> must ensure they are read-only for all users.  For now, the Ada
> packages use post-installation scripts for this, thus bypassing checks
> made by lintian and linda.  See bugs #226879 and #227162.

> I propose the following addition to Section 8.4 "Development files":

> "If the package provides Ada Library Information (*.ali) files for use
> with GNAT, these files must be read-only for all users."

I don't see that this is a very good reason for an exception to the
rules on file permissions.  Why can't gnat be fixed so that it doesn't
try to auto-create object files when it shouldn't?

-- 
Steve Langasek
postmodern programmer

Attachment: pgpTC_B3MJsyB.pgp
Description: PGP signature


Reply to: