[Hackage] #465: default global install on windows is a problem

#465: default global install on windows is a problem ----------------------------+----------------------------------------------- Reporter: duncan | Owner: Type: defect | Status: new Priority: normal | Milestone: Cabal-1.8 Component: Cabal library | Version: 1.6.0.1 Severity: normal | Keywords: Difficulty: normal | Ghcversion: 6.8.3 Platform: Windows | ----------------------------+----------------------------------------------- Lots of windows users have problems installing things globally. Some are using multi-user systems. More are using Vista where it seems that even when they are running as administrator they cannot install files in `C:\Program Files\`. We should revisit the decision to install globally and see if we cannot find a default that works better. Failing by default is bad. We may also want to try to improve the checking beforehand to check if we would have permissions to write into the target directories. If not we can fail at configure time rather than waiting until install time and failing ungracefully. This needs someone who knows and cares about windows. Particularly for the Vista aspects. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/465 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#465: default global install on windows is a problem ----------------------------+----------------------------------------------- Reporter: duncan | Owner: Type: defect | Status: new Priority: normal | Milestone: Cabal-1.8 Component: Cabal library | Version: 1.6.0.1 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.8.3 | Platform: Windows ----------------------------+----------------------------------------------- Comment (by duncan): See #320 for an example of what happens on Vista and trying to do global installs, even when the user has admin access. Then if they do do a global install as administrator they get #454, where the permissions are such that only the administrator can run the program. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/465#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#465: default global install on windows is a problem ----------------------------+----------------------------------------------- Reporter: duncan | Owner: Type: defect | Status: new Priority: normal | Milestone: Cabal-1.8 Component: Cabal library | Version: 1.6.0.1 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.8.3 | Platform: Windows ----------------------------+----------------------------------------------- Comment (by duncan): I'm convinced the only sensible thing to do is to default to per-user installs and to reject --global installs unless we were launched with elevated privileges (meaning from within a elevated privileges console window). Providing a way to elevate privileges at just the right time is just too hard on Windows. See #320 comment 9. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/465#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#465: default global install on windows is a problem ----------------------------+----------------------------------------------- Reporter: duncan | Owner: Type: defect | Status: new Priority: normal | Milestone: Cabal-1.8 Component: Cabal library | Version: 1.6.0.1 Severity: normal | Keywords: Difficulty: normal | Ghcversion: 6.8.3 Platform: Windows | ----------------------------+----------------------------------------------- Comment(by duncan): So cabal-install-0.8.2 will do per-user installs by default. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/465#comment:3 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage