[GHC] #14017: "make install" with non-standard umask causes bad permission on package.cache

GHC ghc-devs at haskell.org
Mon Sep 4 00:46:17 UTC 2017


#14017: "make install" with non-standard umask causes bad permission on
package.cache
-------------------------------------+-------------------------------------
        Reporter:  djf               |                Owner:  bgamari
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.2.2
       Component:  Build System      |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  Linux             |         Architecture:
 Type of failure:  Installing GHC    |  Unknown/Multiple
  failed                             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #13375, #13354,   |  Differential Rev(s):
  #13194                             |
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 Indeed the use of `writeFileAtomic` appears to be okay since it uses
 `openBinaryTempFileWithDefaultPermissions`, which uses a mode of `0666` to
 create the file. Looks like I'll have to look elsewhere.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14017#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list