[Hackage] #320: cooperation with Windows Vista's User Access Control
Hackage
trac at galois.com
Tue Aug 5 15:34:00 EDT 2008
#320: cooperation with Windows Vista's User Access Control
----------------------------+-----------------------------------------------
Reporter: Toxaris | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Cabal library | Version: 1.4.0.1
Severity: normal | Keywords:
Difficulty: normal | Ghcversion: 6.8.2
Platform: Windows |
----------------------------+-----------------------------------------------
Installation of a cabal package under Windows Vista with UAC activated may
fail even when working as administrator, because cabal doesn't request the
necessary rights to write to, e.g., "c:\Program Files\Haskell\<whatever>".
A workaround is to start an "Administrator console" to start Cabal from a
process which already acquired admin privileges.
Cabal should request the necessary rights instead of failing.
cabal-install should check in advance whether the target destination is
writeable and fail early or request the necessary rights. (currently,
cabal-install fails after compiling all dependencies. After starting
cabal-install again from an Administrator console, everything has to be
build again).
{{{
C:\Downloads\Haskell\typeof-0.1.1>runhaskell Setup install
Setup: C:\Program Files\Haskell\doc\typeof-0.1.1: copyFile: permission
denied (P
ermission denied)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/320>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list