It works well for following code
System.Directory.getPermissions "/path/to/somewhere"
However getting error with this:
System.Directory.getPermissions "/path/to/somewhere/"
*** Exception: getPermissions: does not exist (No such file or directory)
The only difference is the path name. It gets error when having extra trailing slash.
It looks wired.
Thanks your help.
PS: Previous discussion at https://ghc.haskell.org/trac/ghc/ticket/8342
It works well for following code
However getting error with this:
The only difference is the path name. It gets error when having extra trailing slash.
It looks wired.
Thanks your help.
PS: Previous discussion at https://ghc.haskell.org/trac/ghc/ticket/8342