We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1edbad commit b14c8caCopy full SHA for b14c8ca
src/io/local_cache.rs
@@ -307,6 +307,8 @@ impl<B: IoProvider> LocalCache<B> {
307
}
308
309
// Make the file readonly once it's at its final path.
310
+ // XXX: It would be better to set these using the already-open file handle owned by the
311
+ // tempfile, but mkstemp doesn't give us access.
312
let mut perms = match fs::metadata(&final_path) {
313
Ok(p) => p,
314
Err(e) => return OpenResult::Err(e.into()),
0 commit comments