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:
commit
d9e326b2cd
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user