Add read and write rights to group and other when creating file
This commit is contained in:
parent
446bc899b2
commit
d4985accb7
1 changed files with 3 additions and 1 deletions
|
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue