summaryrefslogtreecommitdiff
path: root/Userland/Utilities/dd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Utilities/dd.cpp')
-rw-r--r--Userland/Utilities/dd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/dd.cpp b/Userland/Utilities/dd.cpp
index 3eb58b486e..18b1736cd7 100644
--- a/Userland/Utilities/dd.cpp
+++ b/Userland/Utilities/dd.cpp
@@ -58,7 +58,7 @@ static int handle_io_file_arguments(int& fd, int flags, const char* argument)
return -1;
}
- fd = open(value.characters(), flags);
+ fd = open(value.characters(), flags, 0666);
if (fd == -1) {
fprintf(stderr, "Unable to open: %s\n", value.characters());
return -1;