Opened 15 months ago

Last modified 15 months ago

#15256 new bug

GHCi check .ghci permission on WSL(Linux on Windows)

Reported by: yongjoon Owned by:
Priority: normal Milestone: 8.4.4
Component: GHCi Version: 8.2.2
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Other
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

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.

Change History (1)

comment:1 Changed 15 months ago by yongjoon

Milestone: 8.6.18.4.4
Note: See TracTickets for help on using tickets.