[Hackage] #320: cooperation with Windows Vista's User Access Control

Hackage trac at galois.com
Wed Mar 4 06:43:47 EST 2009

#320: cooperation with Windows Vista's User Access Control
  Reporter:  Toxaris        |        Owner:         
      Type:  enhancement    |       Status:  new    
  Priority:  normal         |    Milestone:  _|_    
 Component:  Cabal library  |      Version:
  Severity:  normal         |   Resolution:         
  Keywords:                 |   Difficulty:  normal 
Ghcversion:  6.8.2          |     Platform:  Windows
Comment (by br1):

 FWIW, I asked Microsoft:

 Hi.  I've been tracking some Haskell issues regarding permissions in
 Vista.  Haskell includes a package manager for its libraries.  It's not
 clear what the UAC story is for this.  It's not right for the package
 manager to request admin privileges, because it forbids non-admin users to
 install a private version of the Haskell tools. Maybe you could take a
 look: http://hackage.haskell.org/trac/hackage/ticket/320#comment:5

 This is the response:

 I'm not familiar with the tool or how it works. If you're creating a pure
 per-user application, then simply writing the files to a per-user location
 is sufficient. If you're looking for a per-machine install, you can use
 MSI Patches to upgrade without requiring admin rights, as described here:
 http://msdn.microsoft.com/en-us/library/aa370582(VS.85).aspx. I generally
 advise not trying to replicate the AccessCheck logic and elevate
 accordingly - it's too easy to get that wrong. Rather, just factor the
 application, and always elevate or never elevate (if it's per-user).

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

More information about the cabal-devel mailing list