Skip to content

Commit

Permalink
chirp_fuse: remove creation flags after mknod (#3971)
Browse files Browse the repository at this point in the history
Fixes #3968
  • Loading branch information
btovar authored Nov 5, 2024
1 parent 5ddffe6 commit 74d46fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chirp/src/chirp_fuse.c
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,8 @@ static int chirp_fuse_create(const char *path, mode_t mode, struct fuse_file_inf
if(error != 0)
return error;

fi->flags &= ~(O_CREAT|O_TRUNC);

return chirp_fuse_open(path, fi);
}

Expand Down

0 comments on commit 74d46fc

Please sign in to comment.