Add read and write rights to group and other when creating file

This commit is contained in:
GuillaumeGomez 2015-02-11 19:38:57 +01:00
parent 446bc899b2
commit d4985accb7

View file

@ -159,7 +159,9 @@ impl OpenOptions {
flags: 0,
read: false,
write: false,
mode: libc::S_IRUSR | libc::S_IWUSR,
mode: libc::S_IRUSR | libc::S_IWUSR
| libc::S_IRGRP | libc::S_IWGRP
| libc::S_IROTH | libc::S_IWOTH,
}
}