Skip to content

Commit 43a2004

Browse files
committed
rollup merge of #22186: GuillaumeGomez/fix-fs
Fixes issue #22174.
2 parents 9675f51 + d4985ac commit 43a2004

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/libstd/sys/unix/fs2.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,9 @@ impl OpenOptions {
159159
flags: 0,
160160
read: false,
161161
write: false,
162-
mode: libc::S_IRUSR | libc::S_IWUSR,
162+
mode: libc::S_IRUSR | libc::S_IWUSR
163+
| libc::S_IRGRP | libc::S_IWGRP
164+
| libc::S_IROTH | libc::S_IWOTH,
163165
}
164166
}
165167

0 commit comments

Comments
 (0)