We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Using cabal-install-1.24.0.0)
cd
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.
cabal
-rw-------
$ 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
The text was updated successfully, but these errors were encountered:
This seems to be fixed if installOrdinaryFiles is used instead of copyFiles in Setup.hs.
installOrdinaryFiles
copyFiles
Sorry, something went wrong.
ensure appropriate permissions for manpage
477a554
Fixes haskell#3653
No branches or pull requests
(Using cabal-install-1.24.0.0)
cd
to cabal-install-1.24.0.0sudo ./bootstrap.sh --global
The manpage for
cabal
is installed with permissions-rw-------
. Note that it's neither readable by the group nor by others.The permissions are, indeed, broken:
It is worth adding that the generated files in dist have correct permissions:
The text was updated successfully, but these errors were encountered: