You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copying a directory using the recursive copy function fails with permission error on MacOS if the target is (or contains) a read-only directory with contents.
Actual: the target directory is created but it is empty, and the following is printed: (node:5199) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: EACCES: permission denied, open 'target/file'
Operating System: Mac OS 10.13.5
fs-extra version: 6.0.1
The text was updated successfully, but these errors were encountered:
mbargiel
changed the title
copy(src, dst) fails with PermissionError when copying a read-only directory with content
copy(src, dst) fails with PermissionError when copying a read-only directory with content on MacOS
Jul 6, 2018
mbargiel
changed the title
copy(src, dst) fails with PermissionError when copying a read-only directory with content on MacOS
copy(src, dst) fails with EACCES when copying a read-only directory with content on MacOS
Jul 6, 2018
Copying a directory using the recursive
copy
function fails with permission error on MacOS if the target is (or contains) a read-only directory with contents.Repro steps:
target
directory is created but it is empty, and the following is printed: (node:5199) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: EACCES: permission denied, open 'target/file'fs-extra
version: 6.0.1The text was updated successfully, but these errors were encountered: