Skip to content

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

@wapxmas

Description

@wapxmas

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 (Отказано в доступе.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions