Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407399 - app-text/pandoc installs /usr/share/man/man5/pandoc_markdown.5.bz2 in 0700 permission
Summary: app-text/pandoc installs /usr/share/man/man5/pandoc_markdown.5.bz2 in 0700 pe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-08 10:14 UTC by Casper Ti. Vector
Modified: 2012-03-13 02:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Casper Ti. Vector 2012-03-08 10:14:41 UTC
app-text/pandoc installs /usr/share/man/man5/pandoc_markdown.5.bz2 in 0600 permission. It (as is expected) should be 444 at least, and is now making mandb(1) and makewhatis(1) issue errors.


Reproducible: Always

Steps to Reproduce:
1. emerge app-text/pandoc # whether ~1.8.1.1-r1 in portage or ~1.9.1.1 in the gentoo-haskell overlay.
2. sudo -u man mandb # Or makewhatis, depending on whether you are using sys-apps/man-db or not.
3. ls -l /usr/share/man/man5/pandoc_markdown.5.bz2

Actual Results:  
2. mandb: can't open /usr/share/man/man5/pandoc_markdown.5.bz2: Permission denied
3. -rw------- 1 root root 13537 Mar  8 00:48 /usr/share/man/man5/pandoc_markdown.5.bz2

Expected Results:  
2. mandb(1) runs as expected.
(which depends on 3:)
3. should be `-r--r--r--' at least.


Possibly should be reported upstream, but I don't have that much time to confirm it is not a gentoo issue...
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2012-03-12 20:28:48 UTC
Can you check if =app-text/pandoc-1.9.1.2 has the issue (they are the same in overlay and in portage). Upgrade fixed ithe issue for me.

It was one of the changes (uses installOrdinaryFiles instead of copyFiles)
in Setup.hs.
Comment 2 Casper Ti. Vector 2012-03-13 02:07:24 UTC
Solved for me, thanks!