Closed
Description
(Using cabal-install-1.24.0.0)
- Fetch the sources from http://hackage.haskell.org/package/cabal-install-1.24.0.0/cabal-install-1.24.0.0.tar.gz
- Extract the sources;
cd
to cabal-install-1.24.0.0 - Bootstrap:
sudo ./bootstrap.sh --global
The manpage for cabal
is installed with permissions -rw-------
. Note that it's neither readable by the group nor by others.
$ man -w cabal
man: can't open /usr/local/man/man1/cabal.1: Permission denied
The permissions are, indeed, broken:
$ ls -l $(realpath /usr/local/man/man1/cabal.1)
-rw------- 1 root root 91468 Aug 1 22:56 /usr/local/share/man/man1/cabal.1
It is worth adding that the generated files in dist have correct permissions:
$ ls -la dist/build/cabal/
total 33056
drwxr-xr-x 3 root root 4096 Aug 1 22:56 .
drwxr-xr-x 4 root root 4096 Aug 1 22:54 ..
-rwxr-xr-x 1 root root 33735528 Aug 1 22:56 cabal
-rw-r--r-- 1 root root 91468 Aug 1 22:56 cabal.1
drwxr-xr-x 4 root root 4096 Aug 1 22:56 cabal-tmp
Metadata
Metadata
Assignees
Labels
No labels