diff options
-rwxr-xr-x | fusearchive.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fusearchive.py b/fusearchive.py index 8998601..aad8c0f 100755 --- a/fusearchive.py +++ b/fusearchive.py @@ -504,7 +504,7 @@ class FuseArchive(Fuse): # files works (in the create a read-only file for writing case) src = "./tree" + path logging.debug( "Saving fh for " + src ) - nflags = os.O_RDWR + nflags = os.O_RDWR | os.O_APPEND | os.O_CREAT self.file = os.fdopen( os.open( src, nflags, *mode ), flag2mode( nflags ) ) |