executable-in-usr-lib
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.
Severity: | pedantic |
Experimental: | true |
Screens
- emacs/elpa/scripts
-
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."David Bremner" bremner@debian.org
See also: Bug#974175, Bug#954149
- web/cgi/scripts
-
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."Andrius Merkys" merkys@debian.org
See also: https://en.wikipedia.org/wiki/Common_Gateway_Interface, https://datatracker.ietf.org/doc/html/rfc3875.html, Bug#1003941
See also
File System Structure (Section 9.1.1) in the Debian Policy Manual
filesystem-hierarchy
https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s07.html
- list of all the affected packages
- the source of this tag