From b66155e6312671034fe596e9e1dcdb6a96a59482 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Wed, 23 Apr 2025 16:28:53 +0200 Subject: [PATCH] shell/vfs: set proper file permissions --- sys/shell/cmds/vfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/shell/cmds/vfs.c b/sys/shell/cmds/vfs.c index a7b7ca7643..eb105bced9 100644 --- a/sys/shell/cmds/vfs.c +++ b/sys/shell/cmds/vfs.c @@ -419,7 +419,7 @@ static int _write_handler(int argc, char **argv) return 5; } - int fd = vfs_open(path, flag, 0); + int fd = vfs_open(path, flag, 0644); if (fd < 0) { printf("Error opening file \"%s\": %s\n", path, tiny_strerror(fd)); return 3;