[Pkg-zsh-devel] Bug#895153: zsh-common: /usr/local/share/zsh/site-functions is owned by root:staff

Sven Joachim svenjoac at gmx.de
Sat Apr 7 20:36:06 UTC 2018


Package: zsh-common
Version: 5.4.2-4
Severity: normal

Your package declares compliance with Debian Policy 4.1.4, claiming that
"no other changes were required", but this is not actually true.
The upgrading-checklist states

,----
| 9.1.2
|    If "/etc/staff-group-for-usr-local" does not exist, "/usr/local"
|    and all subdirectories created by packages should have permissions
|    0755 and be owned by "root:root".  If the file exists, the old
|    permissions of 2775 and ownership of root:staff should remain.
`----

The zsh-common postinst script does not respect this policy though,
using root:staff unconditionally.

,----
| mkdir -m2775 -p /usr/local/share/zsh/site-functions && chown root:staff \
|                /usr/local/share/zsh/site-functions || true
`----

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 4.16.0-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


zsh-common depends on no packages.

Versions of packages zsh-common recommends:
ii  zsh  5.4.2-4

Versions of packages zsh-common suggests:
ii  zsh-doc  5.4.2-4

-- no debconf information



More information about the Pkg-zsh-devel mailing list