Skip to content

Feature Request: Add ability to change file permissions on imported files #67

@brentleyjones

Description

@brentleyjones

We should have an option similar to rsync's --chmod to change imported record and unit permissions. A common use case for index-import is importing Bazel built index stores. Those records are read-only, so users have to manually adjust them after the import with a command similar to chmod -R u+w "$INDEX_DATA_STORE_DIR". This is inefficient, as it does it to all files, instead of just the records that are imported.

And since we write units new each time, the flag could be useful to do the opposite: make all files imported read-only (if someone wanted to do that for some reason).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions