id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
1437	[RPMLint] script-related warnings	zaytsev	andrew_b	"I have conducted an audit of the current SPEC file with RPMLint and here are the significant errors it finds at the moment.

As far as I understand, we need to add shebangs in some cases, in some cases remove them and in some cases reconsider permissions.

These are not critical errors, just recommended best practices.

{{{
mc.i386: E: executable-sourced-script /etc/profile.d/mc.sh 0755                                                               
mc.i386: E: executable-sourced-script /etc/profile.d/mc.csh 0755                                                              
                                                                                                                              
This text file has executable bit set, but is meant to be sourced, not                                                        
executed.                                                                                                                     
                                                                                                                              
mc.i386: E: non-executable-script /etc/mc/edit.indent.rc 0644 /bin/sh                                                         
mc.i386: E: non-executable-script /etc/mc/edit.spell.rc 0644 /bin/sh                                                          
                                                                                                                              
This text file contains a shebang or is located in a path dedicated for                                                       
executables, but lacks the executable bits and cannot thus be executed.  If                                                   
the file is meant to be an executable script, add the executable bits,                                                        
otherwise remove the shebang or move the file elsewhere.                                                                      
                                                                                                                              
mc.i386: E: script-without-shebang /usr/libexec/mc/mc.csh                                                                     
mc.i386: E: script-without-shebang /usr/libexec/mc/mc.sh                                                                      
mc.i386: E: script-without-shebang /usr/libexec/mc/mc-wrapper.sh                                                              
mc.i386: E: script-without-shebang /usr/libexec/mc/mc-wrapper.csh                                                             
                                                                                                                              
This text file has executable bits set or is located in a path dedicated for                                                  
executables, but lacks a shebang and cannot thus be executed.  If the file is                                                 
meant to be an executable script, add the shebang, otherwise remove the                                                       
executable bits or move the file elsewhere.
}}}
"	defect	closed	minor	4.8.4	mc-core	master	fixed					merged	committed-master committed-stable
