Lintian Reports

W maintainer-script-should-not-use-recursive-chown-or-chmod

All reports of maintainer-script-should-not-use-recursive-chown-or-chmod for the archive. The extended description of this tag is:

The maintainer script appears to call chmod or chown with an --recursive or -R argument.

This is vulnerable to hardlink attacks on mainline, non-Debian kernels that do not have fs.protected_hardlinks=1,

This arises through altering permissions or ownership within a directory that may be owned by a non-privileged user - such a user can link to files that they do not own such as /etc/shadow or files within /var/lib/dpkg/. The promiscuous chown or chmod would convert the ownership or permissions of these files so that they are manipulable by the non-privileged user.

Ways to avoid this problem include:

     - If your package uses a static uid, please perform the chown at
       package build time instead of installation time.
     - Use a non-recursive call instead, ensuring that you do not change
       ownership of files that are in user-controlled directories.
     - Use runuser(1) to perform any initialization work as the
       user you were previously chowning to.

Refer to,, and the runuser(1) manual page for details.

Severity: normal, Certainty: certain

Check: scripts, Type: binary

Evolution of the maintainer-script-should-not-use-recursive-chown-or-chmod Lintian tag over the past 366 days:

The beforementioned graph for the maintainer-script-should-not-use-recursive-chown-or-chmod tag

Emitted (non-overridden): 595, overridden: 0, total: 595

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.

389-ds-base (binary)

apacheds 2.0.0~M15-4 (binary)

apprecommender 0.7.5-2 (binary)

apt 1.6~alpha7 (binary)

armagetronad-dedicated (binary)

arpalert 2.0.12-1 (binary)

arpwatch 2.1a15-6 (binary)

backuppc 3.3.1-5 (binary)

bareos-traymonitor 16.2.6-3 (binary)

bgoffice-dict-downloader 0.09 (binary)

bitlbee-common 3.5.1-1 (binary)

boinc-app-eah-brp 0.20170426+dfsg-10+b1 (binary)

boinc-app-seti 8.00~svn3701-1 (binary)

boinc-app-seti-graphics 8.00~svn3701-1 (binary)

buildbot 0.8.14-1 (binary)

buildbot-slave 0.8.12-3 (binary)

cacti 1.1.35+ds1-1 (binary)

calendarserver 9.1+dfsg-1 (binary)

caml-crush-server 1.0.8-1+b1 (binary)

canna 3.7p3-14 (binary)

ceph-base 10.2.7-0exp1 (binary)

ceph-base 10.2.5-7.2 (binary)

ceph-common 10.2.7-0exp1 (binary)

ceph-common 10.2.5-7.2 (binary)

chrony 3.2-3 (binary)

citadel-server 917-1 (binary)

citadel-webcit 917-dfsg-1 (binary)

civicrm-common 4.7.24+dfsg-1 (binary)

cltl 1.0.28 (binary)

cntlm 0.92.3-1+b1 (binary)

colord 1.3.3-2 (binary)

colplot 5.0.1-4 (binary)

conserver-server 8.2.1-1+b1 (binary)

corosync-qnetd 2.4.2-3 (binary)

cpl-plugin-muse-calib 2.0.3+dfsg-1 (binary)

cpl-plugin-muse-calib 2.2+dfsg-2 (binary)

cpl-plugin-muse-calib 2.2+dfsg-1 (binary)

dansguardian (binary)

darkstat 3.0.719-1+b1 (binary)

dcmtk 3.6.2-3 (binary)

debug-me-server 1.20170810-1 (binary)

dhcpy6d 0.4.3-1 (binary)

dhtnode 1.5.0-3 (binary)

diamond 4.0.515-4 (binary)

diaspora (binary)

diaspora-common (binary)

didiwiki 0.5-13 (binary)

dkim-milter-python 0.9-1 (binary)

doodle 0.7.0-9+b2 (binary)

dotlrn 2.5.0+dfsg2-1 (binary)

dqcache-run 20161210-1 (binary)

dtc-stats-daemon 0.35.5-1 (binary)

e2guardian (binary)

elog 3.1.3-1-1 (binary)

evqueue-core 2.0-1+b1 (binary)

ferm 2.4-1 (binary)

fetchmail 6.3.26-3 (binary)

fex 20160919-1 (binary)

freeradius 3.0.16+dfsg-1+b1 (binary)

freewnn-cserver 1.1.1~a021+cvs20130302-7 (binary)

freewnn-jserver 1.1.1~a021+cvs20130302-7 (binary)

freewnn-kserver 1.1.1~a021+cvs20130302-7 (binary)

fs-uae-netplay-server 2.8.4+dfsg-1 (binary)

ftp-cloudfs 0.25.2+20140217+git2a90c1a2eb-1 (binary)

fwanalog 0.6.9-8 (binary)

ganglia-webfrontend 3.6.1-3 (binary)

gbrowse 2.56+dfsg-3 (binary)

gbrowse-data 2.56+dfsg-3 (binary)

gdm3 (binary)

gdm3 3.27.90-1 (binary)

gitlab 8.13.11+dfsg1-12 (binary)

gitlab 9.5.4+dfsg-5 (binary)

gitolite3 3.6.7-2 (binary)

glance-common 2:15.0.0-7 (binary)

glance-store-common 0.23.0-1 (binary)

glance-store-common 0.22.0-2 (binary)

glare-common 0.4.1-4 (binary)

gmetad 3.6.0-7+b2 (binary)

gnats 4.1.0-5 (binary)

gnugk 2:3.6-1+b4 (binary)

gnunet 0.10.1-5 (binary)

goiardi 0.11.7-1 (binary)

gosa 2.7.4+reloaded2-13 (binary)

grafana 2.6.0+dfsg-3 (binary)

greylistd (binary)

groonga-server-common 7.1.1-1 (binary)

gsm-utils 1.10+20120414.gita5e5ae9a-0.3+b1 (binary)

gup 0.5.15+b1 (binary)

heat-common 1:9.0.2-4 (binary)

htcondor 8.6.8~dfsg.1-1 (binary)

hyperestraier 1.4.13-15 (binary)

hyperspec 1.31 (binary)

i2p 0.9.32-2 (binary)

icecast2 2.4.3-2 (binary)

ifetch-tools 0.15.26d-1 (binary)

ifmail 2.14tx8.10-23.1 (binary)

influxdb 1.1.1+dfsg1-4+b1 (binary)

inspircd 2.0.24-1 (binary)

iog 1.03-3.6 (binary)

iptotal 0.3.3-13.1+b1 (binary)

ircd-hybrid 1:8.2.22+dfsg.1-1 (binary)

irker 2.18+dfsg-2 (binary)

jetty9 9.2.23-1 (binary)

keysafe-server 0.20170811-1 (binary)

keystone 2:12.0.0-2 (binary)

ldap-account-manager 6.2-1 (binary)

letodms 3.4.2+dfsg-3 (binary)

libapache2-mod-auth-openidc 2.3.2-1 (binary)

lightdm 1.18.3-4 (binary)

lightdm 1.18.3-5 (binary)

liquidsoap 1.1.1-7.2 (binary)

logcheck 1.3.18 (binary)

lpr 1:2008.05.17.2+b1 (binary)

lurker 2.3-6 (binary)

mailping 0.0.4-3 (binary)

manila-common 1:5.0.1-3 (binary)

mariadb-server-10.1 1:10.1.29-6 (binary)

mariadb-server-10.2 10.2.7-1 (binary)

mariadb-server-10.3 10.3.0-0+exp2 (binary)

mediawiki 1:1.27.4-3 (binary)

mgetty-voice 1.1.36-3.1 (binary)

milter-greylist 4.5.11-1.1+b3 (binary)

minbif-common 1:1.0.5+git20150505-3 (binary)

mirrormagic (binary)

mldonkey-server 3.1.6-1 (binary)

mobyle 1.5.5+dfsg-5 (binary)

mpdscribble 0.22-5 (binary)

mtail 3.0.0~rc5-1 (binary)

mysql-server-5.7 5.7.21-1 (binary)

netdata 1.9.0+dfsg-1 (binary)

netmrg 0.20-7.2 (binary)

netplan 1.10.1-5+b1 (binary)

neutron-common 2:11.0.1-6 (binary)

nova-common 2:16.0.3-10 (binary)

ntp 1:4.2.8p10+dfsg-6 (binary)

ntpsec 1.0.0+dfsg1-1 (binary)

ocsinventory-reports 2.2+dfsg-0.1 (binary)

ocsinventory-server 2.2+dfsg-0.1 (binary)

ola 0.10.5.nojsmin-3 (binary)

onak 0.5.0-1 (binary)

openacs 5.9.0+dfsg-1 (binary)

openstack-dashboard 3:12.0.2-1 (binary)

openstack-dashboard-apache 3:12.0.2-1 (binary)

orthanc 1.3.1+dfsg-1 (binary)

orthanc-dicomweb 0.4+dfsg-1+b1 (binary)

orthanc-postgresql 2.0-5 (binary)

orthanc-webviewer 2.3-2 (binary)

otrs2 6.0.5-1 (binary)

phamm 0.6.5-1 (binary)

phpldapadmin 1.2.2-6.1 (binary)

phpmyadmin 4:4.6.6-5 (binary)

pinto 0.97+dfsg-4 (binary)

planetfilter 0.8.1-1 (binary)

plinth 0.23.0 (binary)

policyd-weight (binary)

polipo 1.1.1-7 (binary)

postfwd 1.35-4 (binary)

prelude-correlator 3.1.0+ds-1 (binary)

prelude-manager 3.1.0-4 (binary)

printer-driver-cups-pdf 3.0.1-4 (binary)

privoxy 3.0.26-5 (binary)

prometheus 2.1.0+ds-1+b1 (binary)

prometheus-alertmanager 0.6.2+ds-3 (binary)

prometheus-blackbox-exporter 0.11.0+ds-4+b1 (binary)

prometheus-mongodb-exporter 1.0.0-2 (binary)

prometheus-mysqld-exporter 0.9.0+ds-3+b2 (binary)

prometheus-node-exporter 0.15.2+ds-1 (binary)

prometheus-postgres-exporter 0.4.1+ds-2 (binary)

prometheus-pushgateway 0.4.0+ds-1 (binary)

prometheus-varnish-exporter 1.2-1+b2 (binary)

pygopherd (binary)

pysycache 3.1-3.2 (binary)

python-designate-dashboard 5.0.0-1 (binary)

python-ironic-ui 3.0.1-1 (binary)

python-murano-dashboard 1:4.0.0-1 (binary)

python-sahara-dashboard 5.0.0-1 (binary)

python-senlin-dashboard 0.4.0-1 (binary)

python-trove-dashboard 7.0.0-3 (binary)

qmail-run 2.0.2+nmu1 (binary)

qpsmtpd 0.94-2 (binary)

rabbitmq-server 3.6.10-1 (binary)

remote-tty 4.0-13+b2 (binary)

rocksndiamonds (binary)

roundcube-core 1.3.3+dfsg.1-2 (binary)

routino-www 3.2-2 (binary)

rwhod 0.17-13+b1 (binary)

salt-master 2017.7.2+dfsg1-2 (binary)

sbuild 0.73.0-4 (binary)

sddm 0.15.0-1 (binary)

sendpage-server 1.0.3-1 (binary)

sftpcloudfs 0.12.2-3 (binary)

siproxd 1:0.8.1-4.1+b2 (binary)

slapd 2.4.45+dfsg-1 (binary)

smtpprox-loopprevent 0.1-1 (binary)

snmpd 5.7.3+dfsg-1.8 (binary)

snort (binary)

snort (binary)

socklog-run 2.1.0-8.1 (binary)

sogo 3.2.10-1+b1 (binary)

solr-jetty 3.6.2+dfsg-11 (binary)

solr-tomcat 3.6.2+dfsg-11 (binary)

spamassassin 3.4.1-8 (binary)

speech-dispatcher 0.8.8-1 (binary)

spellcast 1.0-22 (binary)

spf-milter-python 0.9-1 (binary)

sphinxsearch 2.2.11-2 (binary)

spip 3.1.4-3 (binary)

squid 4.0.23-1~exp8 (binary)

sympa 6.2.24~dfsg-1 (binary)

syncthing-discosrv 0.14.43+ds1-6 (binary)

syncthing-relaysrv 0.14.43+ds1-6 (binary)

tango-common 9.2.5a+dfsg1-2 (binary)

taskd 1.1.0+dfsg-3 (binary)

tftpd-hpa 5.2+20150808-1+b1 (binary)

tinyhoneypot 0.4.6-10 (binary)

tinymce 3.4.8+dfsg0-2 (binary)

tinyproxy 1.8.4-5 (binary)

tircd 0.30-4 (binary)

tokyotyrant 1.1.40-4.2+b1 (binary)

tomcat8 8.5.28-1 (binary)

tome 2.4~0.git.2015.12.29-1.2 (binary)

torrus-common 2.09-1 (binary)

toxiproxy 2.0.0+dfsg1-6 (binary)

transmission-daemon 2.92-3+b1 (binary)

trousers 0.3.14+fixed1-1 (binary)

tumgreyspf 1.36-4.1 (binary)

usemod-wiki 1.2.1-1 (binary)

vdr 2.3.8-2 (binary)

vdr-plugin-live 2.3.1-2 (binary)

vdr-plugin-mp3 0.10.2-22+b1 (binary)

vdr-plugin-mplayer 0.10.2-22+b1 (binary)

vdr-plugin-osdteletext 0.9.6-1 (binary)

vdr-plugin-xineliboutput 2.0.0-1.1 (binary)

vdradmin-am 3.6.10-4 (binary)

vnstat 1.17-1 (binary)

vsftpd 3.0.3-9 (binary)

wims 1:4.15b~dfsg1-11 (binary)

wims-java-applets 1:4.15b~dfsg1-11 (binary)

xletters 1.1.1-5+b1 (binary)

xorp 1.8.6~wip.20160715-2+b1 (binary)

xpilot-ng-server 1:4.7.3-2.3 (binary)

yaws 2.0.4+dfsg-2 (binary)

zabbix-agent 1:3.0.12+dfsg-1 (binary)

zabbix-java-gateway 1:3.0.12+dfsg-1 (binary)

zabbix-proxy-mysql 1:3.0.12+dfsg-1 (binary)

zabbix-proxy-pgsql 1:3.0.12+dfsg-1 (binary)

zabbix-proxy-sqlite3 1:3.0.12+dfsg-1 (binary)

zabbix-server-mysql 1:3.0.12+dfsg-1 (binary)

zabbix-server-pgsql 1:3.0.12+dfsg-1 (binary)

zoneminder 1.30.4+dfsg-2 (binary)

zope-common 0.5.54 (binary)

zorp 6.0.10-4 (binary)