diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-04-23 17:04:12 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-04-23 17:04:12 +0200 |
commit | 91f561a417f5edcc094d0ea82da8d6fe0de41013 (patch) | |
tree | f229a6f84dbb78152e2df7c26c06b2b7681667c9 /Userland | |
parent | fd500c79d6c7d8e33571712d2773df612b2b5c2a (diff) | |
download | serenity-91f561a417f5edcc094d0ea82da8d6fe0de41013.zip |
touch: Newly created files were accidentally marked as FIFO's.
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/touch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |