From 59b17b6be12442c1027a89fa0832c2a45d84dfb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Tue, 11 Dec 2007 20:20:45 +0000 Subject: [PATCH] creates the dststatus file with 600 as permissions git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23113 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/bin/dstcheck.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/dstcheck.cpp b/src/bin/dstcheck.cpp index c58ae410b0..cc634cc34d 100644 --- a/src/bin/dstcheck.cpp +++ b/src/bin/dstcheck.cpp @@ -103,7 +103,7 @@ main(int argc, char **argv) strcat(path, "/time_dststatus"); bool newFile = false; bool dst = false; - int fd = open(path, O_RDWR | O_EXCL | O_CREAT); + int fd = open(path, O_RDWR | O_EXCL | O_CREAT, S_IRUSR | S_IWUSR); if (fd < 0) { newFile = false; fd = open(path, O_RDWR);