Bug 21871

Summary: ls -l /usr/share/doc/lvm2 : Permission denied
Product: Mageia Reporter: Bit Twister <bittwister2>
Component: RPM PackagesAssignee: Thomas Backlund <tmb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: cae, marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA6TOO
Source RPM: lvm2-2.02.168-1.mga6.src.rpm CVE:
Status comment:

Description Bit Twister 2017-10-15 00:46:17 CEST
Description of problem: mga6

ls: cannot access '/usr/share/doc/lvm2/INSTALL': Permission denied
ls: cannot access '/usr/share/doc/lvm2/VERSION': Permission denied


Version-Release number of selected component (if applicable):


How reproducible:  Always


Steps to Reproduce:
1. ls -l /usr/share/doc/lvm2

Workaround:  chmod +x /usr/share/doc/lvm2
Bit Twister 2017-10-15 00:46:51 CEST

Whiteboard: (none) => MGA6TOO

Comment 1 Charles Edwards 2017-10-15 01:01:41 CEST
The sane occurs in Cauldron

All %doc for lvm2 are installed in the spec as
%defattr(644,root,root,755)

In grub %docs are installed as
%defattr(0644,root,root,0755)


I would suspect the same for the other pkgs on which Bit Twister has created similar bug reports.

CC: (none) => cae

Comment 2 Bit Twister 2017-10-15 02:20:30 CEST
(In reply to Charles Edwards from comment #1)
> The sane occurs in Cauldron

Hench, the Version: Cauldron     :)

QA types may want to run
   ls -l /usr/share/doc | grep -- --
to catch the ones I do not have installed.
Comment 3 Marja Van Waes 2017-10-15 09:44:43 CEST
Confirming the issue:

[marja@localhost ~]$ ls -al /usr/share/doc | grep "drw-r--r--" | grep "root root"
drw-r--r--    2 root root  4096 okt 29  2016 abattis-cantarell-fonts/
drw-r--r--    2 root root  4096 okt 29  2016 bobobot/
drw-r--r--    2 root root  4096 okt 29  2016 cdparanoia/
drw-r--r--    2 root root  4096 dec  3  2016 dmsetup/
drw-r--r--    8 root root  4096 jan  1  2017 fortune-mod/
===> drw-r--r--    2 root root  4096 dec  3  2016 lvm2/ <===
drw-r--r--    2 root root  4096 okt 29  2016 stix-fonts/
drw-r--r--    2 root root  4096 dec  6  2016 tcsh/
[marja@localhost ~]$ 

Assigning to the registered maintainer.

CC: (none) => marja11
Assignee: bugsquad => tmb
Ever confirmed: 0 => 1
Status: UNCONFIRMED => NEW

Comment 4 Bit Twister 2018-09-03 09:13:10 CEST
close bug

Resolution: (none) => FIXED
Status: NEW => RESOLVED