[Fedora-packaging] Executable example scripts in docs

Michael Schwendt mschwendt at gmail.com
Fri Mar 13 11:40:37 UTC 2009


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.




More information about the Fedora-packaging mailing list