Skip to content

copySync Cannot Copy Documents Folder on Windows #726

@danielehrhardt

Description

@danielehrhardt
  • Operating System:
    Windows 10 Pro 64 bit
  • Node.js version:
    v10.16.0
  • fs-extra version:
    v8.1.0

If i use copy or copySync to copy the Documents Folder on Windows i get the following Error:

RROR Error: Uncaught (in promise): Error: EPERM: operation not permitted, symlink 'C:\Users\daniel.ehrhardt\Pictures' -> 'C:\temp\Eigene Bilder'
Error: EPERM: operation not permitted, symlink 'C:\Users\daniel.ehrhardt\Pictures' -> 'C:\temp\Eigene Bilder'

My User is a AD User.
My Command:
copySync('C:\\Users\\daniel.ehrhardt\\Documents', 'C:\\temp');

I do not Understand why, the folder Pictures is not in the Documents Folder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions