From 91f561a417f5edcc094d0ea82da8d6fe0de41013 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 23 Apr 2019 17:04:12 +0200 Subject: [PATCH] touch: Newly created files were accidentally marked as FIFO's. --- Userland/touch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/touch.cpp b/Userland/touch.cpp index 3d0dcb58bf..690e6d8671 100644 --- a/Userland/touch.cpp +++ b/Userland/touch.cpp @@ -33,7 +33,7 @@ int main(int argc, char** argv) if (rc < 0) perror("utime"); } else { - int fd = open(argv[1], O_CREAT, 0010644); + int fd = open(argv[1], O_CREAT, 0100644); if (fd < 0) { perror("open"); return 1;