[Hackage] #611: protect users from themselves when they use sudo inappropriately

Hackage trac at galois.com
Thu Jan 28 15:07:16 EST 2010


#611: protect users from themselves when they use sudo inappropriately
----------------------------+-----------------------------------------------
  Reporter:  duncan         |        Owner:     
      Type:  enhancement    |       Status:  new
  Priority:  normal         |    Milestone:     
 Component:  Cabal library  |      Version:     
  Severity:  normal         |     Keywords:     
Difficulty:  unknown        |   Ghcversion:     
  Platform:                 |  
----------------------------+-----------------------------------------------

Comment(by draconx):

 Maybe I don't understand how sudo works, but why is cabal installing in
 the user's home directory when running as root in the first place?

 It should be installing packages in root's home directory if you do this.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/611#comment:1>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects



More information about the cabal-devel mailing list