Skip to content

Commit

Permalink
fixup 'vfs_rump: fix missing create arg in open' (0777)
Browse files Browse the repository at this point in the history
  • Loading branch information
cnuke committed Apr 3, 2024
1 parent 0a39c49 commit bb7d61d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repos/dde_rump/src/lib/vfs/rump/vfs_rump.cc
Expand Up @@ -549,7 +549,7 @@ class Vfs::Rump_file_system : public File_system
if (create)
mode |= O_CREAT;

enum { DEFAULT_PERMISSIONS = 0666 };
enum { DEFAULT_PERMISSIONS = 0777 };
int fd = create ? rump_sys_open(path, mode, DEFAULT_PERMISSIONS) : rump_sys_open(path, mode);
if (fd == -1) switch (errno) {
case ENAMETOOLONG: return OPEN_ERR_NAME_TOO_LONG;
Expand Down

0 comments on commit bb7d61d

Please sign in to comment.