1
0
mirror of https://github.com/danog/file.git synced 2024-11-26 20:04:51 +01:00
This commit is contained in:
Daniil Gentili 2023-07-22 20:36:25 +02:00
parent 0b21b1cb8c
commit 6af87e04a5
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -346,7 +346,7 @@ final class EioFilesystemDriver implements FilesystemDriver
public function write(string $path, string $contents): void
{
$flags = \EIO_O_RDWR | \EIO_O_CREAT;
$flags = \EIO_O_RDWR | \EIO_O_CREAT | \EIO_O_TRUNC;
$mode = \EIO_S_IRUSR | \EIO_S_IWUSR | \EIO_S_IXUSR;
$priority = \EIO_PRI_DEFAULT;