1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:37:35 +00:00

touch: Newly created files were accidentally marked as FIFO's.

This commit is contained in:
Andreas Kling 2019-04-23 17:04:12 +02:00
parent fd500c79d6
commit 91f561a417

View file

@ -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;