[opensuse-packaging] non-executable-script warning

Hi guys, I have in one package I intend to submitt to Factory, tons of this warning: non-executable-script: https://build.opensuse.org/package/rawlog?arch=i586&package=translate-toolki... You'll see the incorrect-fsf-address warning too but these I correct with the guys upstream. I'm asking here whats the best way to correct this, because I want to raise this 'problem' upstream, and possibly offer a solution to them. Regards, Luiz -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org

The warning is triggered because the scripts have a shebang (/usr/bin/env python) but doesn't have executable bits on it (+x). This isn't necessarily bad, for example if the script is sourced by another one. You have mainly 2 options: 1) Remove the shebang from the sourced scripts and keep them as 0644 2) Install the shebang scripts with 0755 NM 2012/2/9 Luiz Fernando Ranghetti <elchevive68@gmail.com>:
-- Nelson Marques /* http://www.marques.so nmo.marques@gmail.com */ -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org

The warning is triggered because the scripts have a shebang (/usr/bin/env python) but doesn't have executable bits on it (+x). This isn't necessarily bad, for example if the script is sourced by another one. You have mainly 2 options: 1) Remove the shebang from the sourced scripts and keep them as 0644 2) Install the shebang scripts with 0755 NM 2012/2/9 Luiz Fernando Ranghetti <elchevive68@gmail.com>:
-- Nelson Marques /* http://www.marques.so nmo.marques@gmail.com */ -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (3)
-
Claudio Freire
-
Luiz Fernando Ranghetti
-
Nelson Marques