Bug 21871 - ls -l /usr/share/doc/lvm2 : Permission denied
Summary: ls -l /usr/share/doc/lvm2 : Permission denied
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thomas Backlund
QA Contact:
URL:
Whiteboard: MGA6TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-15 00:46 CEST by Bit Twister
Modified: 2018-09-03 09:13 CEST (History)
2 users (show)

See Also:
Source RPM: lvm2-2.02.168-1.mga6.src.rpm
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.