Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(content): make verified content completely read-only (#96)
The only non-corrupting modification to content stored in cacache is to delete it, and that requires write permission on the containing directory rather than on the file itself. Since no valid operations require write permissions on the content files, mark them as read-only so that the rest of the OS knows these files aren't meant to be written to. Fixes: #95 Signed-off-by: Ryan Graham <r.m.graham@gmail.com>
- Loading branch information