GHCi check .ghci permission on WSL(Linux on Windows)
GHCi permission checking for .ghci conflicts with WSL(Linux on Windows) filesystem management. You can reproduce this problem from 8.2.2.~8.4.3 of GHC-WSL(https://launchpad.net/~hvr/+archive/ubuntu/ghc-wsl).
I think GHCi of WSL would skip .ghci permission check.
I used GHCi(WSL) on some Haskell project synced by cloud storage which is placed on Windows filesystem.
However, when I try to load GHCi with .ghci config file, GHCI says it can't pass .ghci permission check. As you know, chmod on WSL may ignore your command about many of file on NTFS filesystem in WSL. WSL shows permission of some files on Windows filesystems like 777.
Therefore, I think GHCi(WSL) may have an exceptional code not to check .ghci file as like as ghci warning message for MinTTY console.
P.S. Is there any bug-report place only for GHC-WSL? I couldn't find it.
Trac metadata
Trac field | Value |
---|---|
Version | 8.2.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | GHCi |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |