We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ce3204 commit ae12bb1Copy full SHA for ae12bb1
compiler/rustc_data_structures/src/flock/linux.rs
@@ -18,7 +18,7 @@ impl Lock {
18
.read(true)
19
.write(true)
20
.create(create)
21
- .mode(libc::S_IRWXU as u32)
+ .mode(0o600)
22
.open(p)?;
23
24
let mut operation = if exclusive { libc::LOCK_EX } else { libc::LOCK_SH };
0 commit comments