Skip to content

Support storing UnixFS Owner #10577

@yuzhou-nj

Description

@yuzhou-nj

Checklist

  • My issue is specific & actionable.
  • I am not suggesting a protocol enhancement.
  • I have searched on the issue tracker for my issue.

Description

The ipfs add command supports --preserve-mode and --preserve-mtime. Is it possible to also support --preserve-owner? This would allow changes made by chown to be preserved when adding files with ipfs add.

for example:

# ipfs add --preserve-mode --preserve-mtime test.json
added QmbwaAtVk282BkCwK18FDXniC26sTmZqSJvwRAVPAm3fV8 test.json

# chown oracle test.json
# ipfs add --preserve-mode --preserve-mtime test.json
added QmbwaAtVk282BkCwK18FDXniC26sTmZqSJvwRAVPAm3fV8 test.json  <--not changed

thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementA net-new feature or improvement to an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions