Bug ID 1207828
Summary Wrong permissions for docs in package cyrus-sasl-devel
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.4
Hardware All
OS Other
Status NEW
Severity Minor
Priority P5 - None
Component Other
Assignee screening-team-bugs@suse.de
Reporter shundhammer@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Package cyrus-sasl-devel has two subdirectories below
/usr/share/doc/packages/cyrus-sasl-devel/doc with restrictive permissions,
leading to a "permission denied" error for simple shell commands like "find".

Both directories are also completely empty, so they either shouldn't be
packaged at all, or they should contain some content and be accessible for a
normal user.


[sh @ balrog] ~ 2 % ls -l /usr/share/doc/packages/cyrus-sasl-devel/doc
total 8
drw-r--r-- 2 root root 4096 Nov  8  2018 html
drw-r--r-- 2 root root 4096 Jan 30  2018 legacy

[sh @ balrog] ~ 3 % cd /usr/share/doc/packages/cyrus-sasl-devel/doc/html
cd: permission denied: /usr/share/doc/packages/cyrus-sasl-devel/doc/html

[sh @ balrog] ~ 4 % cd /usr/share/doc/packages/cyrus-sasl-devel/doc/legacy 
cd: permission denied: /usr/share/doc/packages/cyrus-sasl-devel/doc/legacy

[sh @ balrog] ~ 5 % cat /etc/os-release 
NAME="openSUSE Leap"
VERSION="15.4"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.4"
PRETTY_NAME="openSUSE Leap 15.4"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.4"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Leap"
LOGO="distributor-logo-Leap"

[sh @ balrog] ~ 6 % rpm -qf /usr/share/doc/packages/cyrus-sasl-devel/doc/html  
cyrus-sasl-devel-2.1.27-150300.4.6.1.x86_64

[sh @ balrog] ~ 7 % rpm -qf /usr/share/doc/packages/cyrus-sasl-devel/doc/legacy
cyrus-sasl-devel-2.1.27-150300.4.6.1.x86_64

[sh @ balrog] ~ 9 % sudo ls -l
/usr/share/doc/packages/cyrus-sasl-devel/doc/html 
total 0

[sh @ balrog] ~ 10 % sudo ls -l
/usr/share/doc/packages/cyrus-sasl-devel/doc/legacy 
total 0


(Found with QDirStat because it showed me permission denied errors while
scanning /usr)

Simply manually removing those directories or fixing the permissions is only a
short fix; until the package gets an update.


You are receiving this mail because: