root-cmd in ~/.cabal/config should be ignored #29

Closed
acfoltzer opened this Issue Aug 2, 2011 · 4 comments

Projects

None yet

4 participants

@acfoltzer

As discussed with j3h, the Haskell Platform's flavor of cabal-install will generate a ~/.cabal/config with root-cmd: sudo by default. This setting currently gets picked up for sandboxed builds, resulting in password prompts and/or root ownership of some files/directories in the sandbox. Since the root-cmd should only be useful for truly --global builds, so cabal-dev should probably ignore it.

@j3h
Collaborator
j3h commented Aug 2, 2011
@jtdaugherty
Contributor

j3h: the changes look good to me. Pull the trigger!

@jtdaugherty
Contributor

(In a good way.)

@j3h
Collaborator
j3h commented Sep 24, 2011

The 0.9 release has been uploaded to Hackage.

@creswick creswick closed this Feb 8, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment