commercialhaskell/stack

When updating, "removeDirectoryRecursive: permission denied (Access is denied.)" Windows 7

Open

#2,426 建立於 2016年8月2日

在 GitHub 查看
 (13 留言) (2 反應) (0 負責人)Haskell (848 fork)batch import
awaiting pull requestcomponent: Windowshelp wantedtype: bug

倉庫指標

Star
 (4,060 star)
PR 合併指標
 (平均合併 17天 10小時) (30 天內合併 6 個 PR)

描述

This happens in any directory:

D:\>stack -v update
Version 1.1.2, Git revision c6dac65e3174dea79df54ce6d56f3e98bc060ecc (3647 commits) x86_64 hpack-0.14.0
2016-08-02 15:59:34.979211: [debug] Checking for project config at: D:\stack.yaml @(stack_9kewhubnl5WIl89fhd1ea2:Stack.Config src/Stack\Config.hs:811:9)
2016-08-02 15:59:34.980211: [debug] No project config file found, using defaults. @(stack_9kewhubnl5WIl89fhd1ea2:Stack.Config src/Stack\Config.hs:833:13)
2016-08-02 15:59:34.984212: [debug] Creating process: D:\usr\git\bin\git.exe fetch --tags --depth=1 @(stack_9kewhubnl5WIl89fhd1ea2:System.Process.Run src/System\Process\Run.hs:102:5)
Fetching package index ...fatal: Not a git repository (or any of the parent directories): .git
2016-08-02 15:59:35.011213: [warn] Process exited with ExitFailure 128: D:\usr\git\bin\git.exe fetch --tags --depth=1 @(stack_9kewhubnl5WIl89fhd1ea2:Stack.PackageIndex src/Stack\PackageIndex.hs:262:17)
Failed to fetch package index, retrying.
removeDirectoryRecursive: permission denied (Отказано в доступе.)

貢獻者指南