Skip to content

dir_copy and permissions to the new_path #466

Open
@tentacles-from-outer-space

Description

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 :/

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behaviorfeaturea feature request or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions