Ticket #3610: remove executable bit from FISH helper scripts

Prevent them from getting accidentally run by users and fix rpmlint
warning found by OBS Framework (build.opensuse.org)

mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/append
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/chmod
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/chown
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/fexists
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/get
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/hardlink
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/info
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/ln
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/ls
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/mkdir
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/mv
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/rmdir
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/send
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/unlink
mc.x86_64: W: script-without-shebang /usr/lib/mc/fish/utime

Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
This commit is contained in:
Andreas Mohr 2016-03-13 19:59:01 +00:00 committed by Yury V. Zaytsev
parent 61bc352b62
commit 903773ceed
16 changed files with 3 additions and 3 deletions

View File

@ -3,8 +3,8 @@ fishdir = $(libexecdir)/@PACKAGE@/fish
# Files to install and distribute other than fish scripts
FISH_MISC = README.fish
fish_DATA = $(FISH_MISC)
fish_SCRIPTS = ls mkdir fexists unlink chown chmod rmdir ln mv hardlink get send append info utime
# Install and distribute FISH helper scripts w/o shebang & executable bit as data
fish_DATA = $(FISH_MISC) ls mkdir fexists unlink chown chmod rmdir ln mv hardlink get send append info utime
fishconfdir = $(sysconfdir)/@PACKAGE@
EXTRA_DIST = $(FISH_MISC) $(fish_SCRIPTS)
EXTRA_DIST = $(fish_DATA)

0
src/vfs/fish/helpers/append Executable file → Normal file
View File

0
src/vfs/fish/helpers/chmod Executable file → Normal file
View File

0
src/vfs/fish/helpers/chown Executable file → Normal file
View File

0
src/vfs/fish/helpers/fexists Executable file → Normal file
View File

0
src/vfs/fish/helpers/get Executable file → Normal file
View File

0
src/vfs/fish/helpers/hardlink Executable file → Normal file
View File

0
src/vfs/fish/helpers/info Executable file → Normal file
View File

0
src/vfs/fish/helpers/ln Executable file → Normal file
View File

0
src/vfs/fish/helpers/ls Executable file → Normal file
View File

0
src/vfs/fish/helpers/mkdir Executable file → Normal file
View File

0
src/vfs/fish/helpers/mv Executable file → Normal file
View File

0
src/vfs/fish/helpers/rmdir Executable file → Normal file
View File

0
src/vfs/fish/helpers/send Executable file → Normal file
View File

0
src/vfs/fish/helpers/unlink Executable file → Normal file
View File

0
src/vfs/fish/helpers/utime Executable file → Normal file
View File