[GHC] #15667: Readonly permissions bits are wrong
#15667: Readonly permissions bits are wrong -------------------------------------+------------------------------------- Reporter: Phyx- | Owner: (none) Type: bug | Status: new Priority: high | Milestone: 8.6.1 Component: Compiler | Version: 8.4.3 Keywords: | Operating System: Windows Architecture: | Type of failure: GHC doesn't work Unknown/Multiple | at all Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Unfortunately it seems the mapping for the permission bits for GHC 8.6.1 seem to have gotten screwed up. When installed to a read-only location GHC is no longer working due to it attempting to get write access as well. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15667> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#15667: Readonly permissions bits are wrong -------------------------------------+------------------------------------- Reporter: Phyx- | Owner: (none) Type: bug | Status: new Priority: high | Milestone: 8.6.1 Component: Compiler | Version: 8.4.3 Resolution: | Keywords: Operating System: Windows | Architecture: Type of failure: GHC doesn't work | Unknown/Multiple at all | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Krzysztof Gogolewski <krz.gogolewski@…>): In [changeset:"deceb21b7ec64ae60377addc2679692ca500b6ae/ghc" deceb21/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="deceb21b7ec64ae60377addc2679692ca500b6ae" Drop accidental write-attributes request Summary: The new filesystem code accidentally asks for write attributes permissions when doing read-only access. I believe this is what's causing the GHC 8.6.1 tarballs to fail when installed to a privileged location. I haven't been able to reproduce the issue yet, but this permission bit is wrong anyway. Test Plan: I'm still trying to workout how to test that this works, changing the permissions on the folder doesn't seem to reproduce the error on a tarball I made from before the change. Reviewers: bgamari, tdammers Reviewed By: bgamari Subscribers: tdammers, monoidal, rwbarton, carter GHC Trac Issues: #15667 Differential Revision: https://phabricator.haskell.org/D5177 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15667#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#15667: Readonly permissions bits are wrong -------------------------------------+------------------------------------- Reporter: Phyx- | Owner: (none) Type: bug | Status: merge Priority: high | Milestone: 8.6.1 Component: Compiler | Version: 8.4.3 Resolution: | Keywords: Operating System: Windows | Architecture: Type of failure: GHC doesn't work | Unknown/Multiple at all | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by monoidal): * status: new => merge -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15667#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#15667: Readonly permissions bits are wrong -------------------------------------+------------------------------------- Reporter: Phyx- | Owner: (none) Type: bug | Status: closed Priority: high | Milestone: 8.6.2 Component: Compiler | Version: 8.4.3 Resolution: fixed | Keywords: Operating System: Windows | Architecture: Type of failure: GHC doesn't work | Unknown/Multiple at all | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: merge => closed * resolution: => fixed Comment: Merged to `ghc-8.6` in 73273be476a8cc6c13368660b042b3b0614fd928. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15667#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC