Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : ghc-7.2
http://hackage.haskell.org/trac/ghc/changeset/2fd7a7d1445d9eee8947a1f3e806ecd58e7f31d5 >--------------------------------------------------------------- commit 2fd7a7d1445d9eee8947a1f3e806ecd58e7f31d5 Author: Ian Lynagh <[email protected]> Date: Sun Jul 17 19:58:37 2011 +0100 Fix permissions of package.cache when installing; fixes trac #5311 When we install the packages, ghc-pkg obeys umask when creating package.cache, but for everything else we specify the permissions. We therefore fix the permissions of package.cache afterwards. >--------------------------------------------------------------- ghc.mk | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/ghc.mk b/ghc.mk index 46e0d94..a929a51 100644 --- a/ghc.mk +++ b/ghc.mk @@ -888,6 +888,10 @@ install_packages: libffi/package.conf.install rts/package.conf.install $(call make-command, \ "$(INSTALLED_GHC_PKG_REAL)" \ --global-conf "$(INSTALLED_PACKAGE_CONF)" hide $p)) +# when we install the packages above, ghc-pkg obeys umask when creating +# package.cache, but for everything else we specify the permissions. We +# therefore now fix the permissions of package.cache + $(CREATE_DATA) '$(INSTALLED_PACKAGE_CONF)/package.cache' # ----------------------------------------------------------------------------- # Binary distributions _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
