[GHC] #13945: 'ghc-pkg update' fails due to bad file descriptor error
GHC
ghc-devs at haskell.org
Tue Aug 29 14:56:13 UTC 2017
#13945: 'ghc-pkg update' fails due to bad file descriptor error
---------------------------------+----------------------------------------
Reporter: mpickering | Owner: (none)
Type: bug | Status: new
Priority: high | Milestone: 8.2.2
Component: Compiler | Version: 8.2.1-rc3
Resolution: | Keywords:
Operating System: Linux | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
---------------------------------+----------------------------------------
Comment (by bgamari):
Ahh, the issue appears to be that NFS is more strict about the privileges
necessary to take an exclusive (`LOCK_EX`) `flock`. Namely, you need write
access. If you only have read access to a file then you can only take a
`LOCK_SH` lock.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13945#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list