Ticket #1280 (closed bug: fixed)
System.Directory.getPermissions gives wrong answer on Vista
| Reported by: | simonmar | Owned by: | simonmar |
|---|---|---|---|
| Priority: | high | Milestone: | 6.8.1 |
| Component: | Compiler | Version: | 6.6 |
| Keywords: | Cc: | ||
| Operating System: | Windows | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
access(X_OK,...) isn't supported by the C runtime on Vista (strictly speaking, it hasn't been supported on any Windows OS, but Vista checks the arguments a bit more carefully than earlier OSs). This means that System.Directory.getPermissions claims that everything is non-executable, and consequently Cabal fails when trying to invoke something via rawSystemPath (in Distribution.Simple.Utils).
This is making GHC's build fall over on Vista currently, so we need a fix/workaround (current workaround is to disable the getPermissions call in Distribution.Simple.Utils.rawSystemPath).
Change History
Note: See
TracTickets for help on using
tickets.
