FS#49663 - [cabal-install] man page readable only by root
Attached to Project:
Community Packages
Opened by Michiel Derhaeg (Distorted) - Saturday, 11 June 2016, 09:21 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 07 February 2018, 18:24 GMT
Opened by Michiel Derhaeg (Distorted) - Saturday, 11 June 2016, 09:21 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 07 February 2018, 18:24 GMT
|
Details
Description:
The cabal man file '/usr/share/man/man1/cabal.1.gz' has 600 as permissions, so normal users can't read it. Current version: 1.24.0.0-1 Steps to reproduce: run: 'man cabal' output: 'man: can't open /usr/share/man/man1/cabal.1.gz: Permission denied' |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Wednesday, 07 February 2018, 18:24 GMT
Reason for closing: Fixed
Additional comments about closing: seems to work with the current package
Wednesday, 07 February 2018, 18:24 GMT
Reason for closing: Fixed
Additional comments about closing: seems to work with the current package
You can use
# chmod 644 /usr/share/man/man1/cabal.1.gz
as a temporary fix until this is solved.
> let destDir = mandir (absoluteInstallDirs pkg lbi copy) </> "man1"
> copyFiles verbosity destDir [(buildDir lbi </> "cabal", "cabal.1")]
This seems to work fine though, since the current package isn't modifying anything and yet the permissions are fine.