From: Brian L. <br...@lo...> - 2009-08-08 16:08:21
|
On Saturday, 08.08.09 at 13:41, S. Doaitse Swierstra wrote: > Did you recently install something using the sudo command? That may have > changed the permissions/ownership of the pacckage.conf. I think package.conf's ownership and permissions are as they should be, root:root 644. The wx cabal package seems to assume that the user running 'cabal install' will be able to modify root-owned files in /usr. I don't understand why any installation would be set up that way these days. It also seems wrong because it defies ~/.cabal/config, which says to install stuff under ~/.cabal. > On 8 aug 2009, at 03:09, Brian Lewis wrote: >> I appreciate all the hard work that went into WxHaskell, and the >> effort >> going into its continued development. But: >> >> $ cabal install wx >> ... >> Writing new package config file... >> ghc-pkg: /usr/lib/ghc-6.10.4/./package.conf: >> you don't have permission to modify this file >> >> Is there some explanation for this hostile behavior? Every other >> cabalized package I've installed in the past year has been satisified >> to live in ~/.cabal and not mess with other files behind the back of >> my distro's package management system. |