Lintian tag: dir-or-file-in-var-www
Type: error
Description (from lintian-explain-tags
)
Debian packages should not install files under /var/www. This is not one
of the /var directories in the File Hierarchy Standard and is under the
control of the local administrator. Packages should not assume that it is
the document root for a web server; it is very common for users to change
the default document root and packages should not assume that users will
keep any particular setting.
Packages that want to make files available via an installed web server
should instead put instructions for the local administrator in a
README.Debian file and ideally include configuration fragments for common
web servers such as Apache.
As an exception, packages are permitted to create the /var/www directory
due to its past history as the default document root, but should at most
copy over a default file in postinst for a new install. In this case,
please add a Lintian override.
Please refer to The /var Hierarchy (Chapter 5) in the Filesystem Hierarchy
Standard for details.
Visibility: error
Show-Always: no
Check: files/hierarchy/standard
Affected packages
source |
version |
binary |
tag type |
tag |
information |
count |
apache2 |
2.4.62-3 |
apache2/2.4.62-3 |
overridden |
dir-or-file-in-var-www |
[var/www/html/]
|
9 |
apache2 |
2.4.62-4 |
apache2/2.4.62-4 |
overridden |
dir-or-file-in-var-www |
[var/www/html/]
|
7 |
lighttpd |
1.4.76-1 |
lighttpd/1.4.76-1 |
overridden |
dir-or-file-in-var-www |
[var/www/html/]
|
9 |
micro-httpd |
20140814-3 |
micro-httpd/20140814-3 |
overridden |
dir-or-file-in-var-www |
[var/www/html/] |
9 |