I wanted to copy everything, of all things, from /usr/share/doc to my home directory and got these messages from the packages I have installed. $ cp -a /usr/share/doc . cp: cannot stat '/usr/share/doc/abattis-cantarell-fonts/COPYING': Permission denied cp: cannot stat '/usr/share/doc/abattis-cantarell-fonts/NEWS': Permission denied cp: cannot stat '/usr/share/doc/abattis-cantarell-fonts/README': Permission denied cp: cannot stat '/usr/share/doc/perl-Tie-IxHash/Changes': Permission denied cp: cannot stat '/usr/share/doc/perl-Tie-IxHash/META.json': Permission denied cp: cannot stat '/usr/share/doc/perl-Tie-IxHash/META.yml': Permission denied cp: cannot stat '/usr/share/doc/perl-Tie-IxHash/MYMETA.yml': Permission denied cp: cannot stat '/usr/share/doc/perl-Tie-IxHash/README': Permission denied cp: cannot open '/usr/share/doc/python3-docs/searchindex.js' for reading: Permission denied cp: cannot stat '/usr/share/doc/stix-fonts/STIX Font License 2010.pdf': Permission denied cp: cannot stat '/usr/share/doc/stix-fonts/STIXv1.1.0.pdf': Permission denied cp: cannot stat '/usr/share/doc/perl-Log-Message/CHANGES': Permission denied cp: cannot stat '/usr/share/doc/perl-Log-Message/META.json': Permission denied cp: cannot stat '/usr/share/doc/perl-Log-Message/META.yml': Permission denied cp: cannot stat '/usr/share/doc/perl-Log-Message/MYMETA.yml': Permission denied cp: cannot stat '/usr/share/doc/perl-Log-Message/README': Permission denied Haven't checked if I can access them. Cheers, Stig
Permission problem confirmed on Mageia 6 too. # ll /usr/share/doc|grep -v r-x total 8716 drw-r--r-- 2 root root 4096 Dec 20 03:28 abattis-cantarell-fonts/ drw-r--r-- 2 root root 4096 Dec 20 04:12 cdparanoia/ drw-r--r-- 2 root root 4096 Dec 20 03:24 dmsetup/ drw-r--r-- 8 root root 4096 Dec 20 03:48 fortune-mod/ drw-r--r-- 2 root root 4096 Dec 20 04:21 lvm2/ dr--r--r-- 2 root root 4096 Dec 20 03:11 perl-File-Lockf/ drw-r--r-- 2 root root 4096 Dec 20 04:07 perl-IO-Multiplex/ drw-r--r-- 3 root root 4096 Dec 20 04:12 perl-JSON/ drw-r--r-- 4 root root 4096 Dec 20 04:11 perl-JSON-XS/ drw-r--r-- 2 root root 4096 Dec 20 04:14 perl-Log-Message/ drw-r--r-- 2 root root 4096 Dec 20 04:08 perl-Regexp-Common/ drw-r--r-- 2 root root 4096 Dec 20 03:49 stix-fonts/ drw-r--r-- 2 root root 4096 Dec 20 03:43 tcsh/ The above directories are missing the x attribute to allow search for the directories. Workaround is to run (as root) chmod a+x /usr/share/doc/* , but the packages involved should be fixed. Looks like it's going to affect quite a few packages.
CC: (none) => davidwhodginsWhiteboard: (none) => MGA6TOOSource RPM: (none) => abattis-cantarell-fonts-0.0.25-1.mga6.src.rpm
Assigning to the registered maintainer.
Assignee: bugsquad => shlomifCC: (none) => marja11
In cauldron, I don't see the problem [marja@localhost cauldron]$ ll /usr/share/doc|grep cantarell drwxr-xr-x 2 root root 4096 Aug 17 11:01 abattis-cantarell-fonts/ Nor do I see it in in Mageia 8: [root@localhost marja]# ll sda9/usr/share/doc | grep cantarell drwxr-xr-x 2 root root 4096 sep 5 14:04 abattis-cantarell-fonts/ [root@localhost marja]# So this bug got fixed for abattis-cantarell-fonts, the package against which this report was filed. I don't have any packages that have this issue in my cauldron or Mageia 8, but if they do exist: please file a separate report for each package [marja@localhost cauldron]$ LC_ALL=C ll /usr/share/doc|grep -v r-x total 5200 [marja@localhost cauldron]$ [root@localhost marja]# ll sda9/usr/share/doc | grep -v r-x totaal 4512 [root@localhost marja]
Resolution: (none) => FIXEDStatus: NEW => RESOLVED