Skip to content

Commit ae12bb1

Browse files
author
Danny Milosavljevic
committed
Remove execute bit from lock file permissions
1 parent 8ce3204 commit ae12bb1

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_data_structures/src/flock

1 file changed

+1
-1
lines changed

compiler/rustc_data_structures/src/flock/linux.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ impl Lock {
1818
.read(true)
1919
.write(true)
2020
.create(create)
21-
.mode(libc::S_IRWXU as u32)
21+
.mode(0o600)
2222
.open(p)?;
2323

2424
let mut operation = if exclusive { libc::LOCK_EX } else { libc::LOCK_SH };

0 commit comments

Comments
 (0)