1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2026-01-01 01:41:18 +01:00

Merge pull request #21426 from benpicco/shell/cmds/vfs-permission

shell/vfs: set proper file permissions
This commit is contained in:
Marian Buschsieweke 2025-04-23 17:05:46 +00:00 committed by GitHub
commit d9e326b2cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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