Lintian Reports

E dir-or-file-in-var-www

All reports of dir-or-file-in-var-www for the archive. The extended description of this tag is:

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.

Refer to Filesystem Hierarchy Standard (The /var Hierarchy) for details.

Severity: serious, Certainty: possible

Check: files, Type: binary, udeb

Evolution of the dir-or-file-in-var-www Lintian tag over the past 366 days:

The beforementioned graph for the dir-or-file-in-var-www tag

Emitted (non-overridden): 2, overridden: 9, total: 11

The package names link to the relevant maintainer page and the corresponding report for the source package. The links go to the full maintainer report page, which includes info and experimental tags and overridden tags, rather than the default page that shows only errors and warnings.

apache2 2.4.25-2 (binary) overridden

hhvm 3.12.11+dfsg-1+b1 (binary) overridden

lighttpd 1.4.45-1 (binary)

micro-httpd 20051212-15.1 (binary) overridden

nginx-common 1.11.8-1~exp1 (binary) overridden

nginx-common 1.10.2-3 (binary) overridden