Tag: executable-in-usr-lib
Severity: pedantic
Experimental: yes
Check: files/permissions/usr-lib
Explanation: The package ships an executable file in /usr/lib.
.
Please move the file to /usr/libexec
.
.
With policy revision 4.1.5, Debian adopted the Filesystem
Hierarchy Specification (FHS) version 3.0.
.
The FHS 3.0 describes /usr/libexec
. Please use that
location for executables.
See-Also:
debian-policy 9.1.1,
filesystem-hierarchy,
https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s07.html,
Bug#954149
Screen: emacs/elpa/scripts
Advocates: David Bremner
Reason: The emacsen-common
package places installation
and removal scripts, which for ELPA packages are executable,
in the folder /usr/lib/emacsen-common/packages
.
.
About four hundred installation packages are affected. All of
them declare emacsen-common
as an installation
prerequisite.
See-Also:
Bug#974175,
Bug#954149
Screen: web/cgi/scripts
Advocates: Andrius Merkys
Reason: The folder /usr/lib/cgi-bin/
is designated for
scripts in the Common Gateway Interface (CGI). They require the
executable bit so the server can run them.
See-Also:
https://en.wikipedia.org/wiki/Common_Gateway_Interface,
https://datatracker.ietf.org/doc/html/rfc3875.html,
Bug#1003941