creates the dststatus file with 600 as permissions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23113 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user