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

Re: script-not-executable



Jaromír Mikeš schrieb:
>> Od: Christoph Egger <debian@christoph-egger.org>
> 
> JM> > Hello mentors,
>  
> JM> > One package I am preparing for upload has this warning:
> JM> > W: lv2fil: script-not-executable ./usr/lib/lv2/filter.lv2/ui
>  
> JM> > Can someone advise me how to fix it please?
>  
> CE> Let me guess, the file has a shebang (#!/usr/bin/python or such) and is
> CE> not +x? Guessing from the location I'd say remove the shebang line to
> CE> fix the warning.
> 
> Hi,
> 
> you are right this file starts (#!/usr/bin/env python) and is +x in source, but not apparently in package.
> Is it right way to touch source like this? I thought that I should make it +x in package again somehow.
> 
> regards
> 
> mira
> 

	Well it probably doesn't make much sense to have this file executeable,
right? Or is someone giong to call it directly? If there's no need for
the file to be executeable the right solution is to have the  shebang
removed. Whether this is to be implemented upstream or in Debian is
another issue of course but I'd prefer ignoring that warning to make the
script artificially executeable

Regards

	Christoph


-- 
/"\  ASCII Ribbon : GPG-Key ID: 0x0372275D
\ /    Campaign   : GPG 4096R : 0xD49AE731
 X   against HTML : Debian NM
/ \   in eMails   : http://www.debian.org/

http://www.christoph-egger.org/

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: