Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
brentleyjones opened this issue Sep 14, 2022 · 0 comments

Comments

@brentleyjones
Copy link
Contributor

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant