[GHC] #15256: GHCi check .ghci permission on WSL(Linux on Windows)

GHC ghc-devs at haskell.org
Mon Jun 11 02:39:01 UTC 2018


#15256: GHCi check .ghci permission on WSL(Linux on Windows)
--------------------------------+-------------------------------------
           Reporter:  yongjoon  |             Owner:  (none)
               Type:  bug       |            Status:  new
           Priority:  normal    |         Milestone:  8.6.1
          Component:  GHCi      |           Version:  8.2.2
           Keywords:            |  Operating System:  Unknown/Multiple
       Architecture:  Other     |   Type of failure:  None/Unknown
          Test Case:            |        Blocked By:
           Blocking:            |   Related Tickets:
Differential Rev(s):            |         Wiki Page:
--------------------------------+-------------------------------------
 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.

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


More information about the ghc-tickets mailing list