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

Re: [Fedora-packaging] Executable example scripts in docs



On Fri, 13 Mar 2009 09:00:07 +0000, Richard wrote:

> I raised this on fedora-devel-list here:
> https://www.redhat.com/archives/fedora-devel-list/2009-March/thread.html#00355
> 
> in relationship to this review request:
> https://bugzilla.redhat.com/show_bug.cgi?id=487527
> 
> My opinion is that executable example scripts are fine and that
> rpmlint is wrong to warn about them.  Probably we should have some
> guidelines in this area because currently the situation is a bit
> confused.
> 
> What do Fedora packager folk think?
> 
> Rich.
> 

Warnings are no review blockers. Use option -i when running rpmlint. It
just warns about these files. These executables are stored outside $PATH
and in the documentation tree, so there is no reason they need to be +x.
Such a warning is good, because it can happen that doc files are +x by
mistake. Since executable scripts are easier to execute accidentally than
non-executable scripts, making them -x is safer.


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