Skip to content

Copy ownership feature not working with directories and files in it #8399

@dotslashx

Description

@dotslashx

I am trying to setup an linux instance with copyOwnershipFromParent enabled but it seems to be a little broken. As for files at the base level of the synced directory the ownership is indeed being copied, but when a new directory and files inside it are to be synced it is not.

Take this directory structure as an example, pictures is the synced folder:

pictures/
├─ img1.jpg
├─ img2.jpg
├─ 2020/
│  ├─ img3.jpg
│  ├─ img4.jpg
├─ 2021/
│  ├─ img5.jpg
├─ 2022/
│  ├─ img6.jpg

In this example only img1.jpg and img2.jpg has the expected ownership, directories and other files inherit owner and group from the user which started the instance and not from the parent directory.

I am using version 1.20.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA problem with current functionality, as opposed to missing functionality (enhancement)

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions