fs icon indicating copy to clipboard operation
fs copied to clipboard

`dir_copy` and permissions to the `new_path`

Open tentacles-from-outer-space opened this issue 1 year ago • 0 comments

Currently dir_copy uses dir_create internally to create destination folder. But it uses default permissions (default value of mode argument which is "u=rwx,go=rx").

Shouldn't it copy the permissions from the original folder? Or at least give a way to change it (e.g. with mode argument passed on to dir_create)?

I came across this while copying results from one workflow to another and realized I was the only person on our team who could work with copied folders :/