[GHC] #8342: System.Directory.getPermissions does not work well on Windows 7

GHC ghc-devs at haskell.org
Mon Nov 3 02:09:19 UTC 2014


#8342: System.Directory.getPermissions does not work well on Windows 7
-------------------------------------+-------------------------------------
              Reporter:  freizl      |            Owner:  leroux
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Core        |          Version:  7.4.1
  Libraries                          |         Keywords:
            Resolution:              |     Architecture:  x86_64 (amd64)
      Operating System:  Windows     |       Difficulty:  Unknown
       Type of failure:              |       Blocked By:
  None/Unknown                       |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by freizl):

 I think library user just like it works well without error or meaningful
 error.
 "Does not exists" make little sense IMHO.

 Being strict is good idea and I suppose core library would do either of
 below when has slash at the end

 - Fixed it auto hence getPermissions show result correctly.
 - Display errors like "shall no have slash at the end"

 Suggestions/comments?

 Thanks.

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


More information about the ghc-tickets mailing list