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

Re: standard for executable files under /usr/share



On Wed, 19 Mar 2003, Russell Coker wrote:

> On Tue, 18 Mar 2003 22:07, sean finney wrote:
> > am i missing something here?
> >
> > find /usr/share -exec file {} \; | grep executable
>
> The problem with that is that some packages have documentation,
> example files, and template files under /usr/share which are
> recognised as executables.

For template files (like /usr/share/debhelper/autoscripts/*), we
could make policy (if it's not already) that files should not be
executable unless they are really meant to be executed.

For documentation and example files, it's already policy that packages
must not require the existance of any files in /usr/share/doc in order
to function, so documentation and example files under /usr/share/doc
are only meant to be executable by the end user, not by the package itself.

Do we really need more policy than this?



Reply to: