You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
We should have an option similar to
rsync
's--chmod
to change imported record and unit permissions. A common use case forindex-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 tochmod -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).
The text was updated successfully, but these errors were encountered: