Skip to content
Snippets Groups Projects
Daniel Gröber's avatar
Daniel Gröber (dxld) authored
Commit 237cfe10 ("Reimplement createDirectoryIfMissingVerbose to use
sensible file permissions") introduced the current (broken) behaviour of
unconditionally setting modes to 744/644.

However this removes at setgid bit which is useful to allow sysadmins to
decide which access groups should have in a whole directory tree.

So instead of overriding the system's desicion simply add to whichever
modes were chosen.

Fixes #7560
177e3938
History

Cabal Hackage version Stackage version Artifacts Documentation Status

This Cabal Git repository contains the following packages:

The canonical upstream repository is located at https://github.com/haskell/cabal.

Installing cabal-install (by downloading the binary)

Prebuilt binary releases can be obtained from https://www.haskell.org/cabal/download.html. The cabal-install binary download for your platform should contain the cabal executable.

Installing cabal-install (preferred, with cabal-install)

Assuming that you have a pre-existing, recent version of cabal-install, run:

cabal install cabal-install

To get the latest version of cabal-install. (You may want to cabal update first.)

To install the latest version from the Git repository, clone the Git repository and then run:

cabal install --project-file=cabal.project.release cabal-install

Installing cabal-install without cabal-install

Assuming you don't have a pre-existing copy of cabal-install, look into bootstrap directory.