[Hackage] #618: Detect in advance if install will be impossible due to permissions

#618: Detect in advance if install will be impossible due to permissions ----------------------------+----------------------------------------------- Reporter: duncan | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: miscellaneous | Version: 1.6.0.1 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ----------------------------+----------------------------------------------- People sometimes accidentally install into paths where they do not have write permissions. This can happen because they do not know the default behaviour, accidental misconfiguration, accidental use or non-use of sudo. It would be a service to users if these conditions were detected up front and some suitable explanation given rather than failing half way through the installation step. Specifically the directories where files will be installed should be checked. Also any package registration files should also be checked. Note that we should only do this check for commands that are definitely going to install file, we should not do it for configure for example since it's quite possible to configure and build as a user but install as root. See #601 for one example of confusion. See also #611 about sudo. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/618 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage