summaryrefslogtreecommitdiffstats
path: root/tags/e/executable-in-usr-lib.tag
blob: 307ba7f3d0108e5bf97568fa61d28ba53456e48b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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 <code>/usr/libexec</code>.
 .
 With policy revision 4.1.5, Debian adopted the Filesystem
 Hierarchy Specification (FHS) version 3.0.
 .
 The FHS 3.0 describes <code>/usr/libexec</code>. 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 <bremner@debian.org>
Reason: The <code>emacsen-common</code> package places installation
 and removal scripts, which for ELPA packages are executable,
 in the folder <code>/usr/lib/emacsen-common/packages</code>.
 .
 About four hundred installation packages are affected. All of
 them declare <code>emacsen-common</code> as an installation
 prerequisite.
See-Also:
 Bug#974175,
 Bug#954149

Screen: web/cgi/scripts
Advocates: Andrius Merkys <merkys@debian.org>
Reason: The folder <code>/usr/lib/cgi-bin/</code> 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