diff options
author | Steve Slaven <bpk@hoopajoo.net> | 2009-07-28 20:09:01 (GMT) |
---|---|---|
committer | Steve Slaven <bpk@hoopajoo.net> | 2009-07-28 20:09:01 (GMT) |
commit | 5c38b23cd7b04b06a19a060397ab79335d4a3fb5 (patch) | |
tree | 3714373615ee9f7132ed89100240da29d8682ed6 | |
parent | df0cbd1b12b80310e62b64f799860f8f02ead4cf (diff) | |
download | fusearchive-5c38b23cd7b04b06a19a060397ab79335d4a3fb5.zip fusearchive-5c38b23cd7b04b06a19a060397ab79335d4a3fb5.tar.gz fusearchive-5c38b23cd7b04b06a19a060397ab79335d4a3fb5.tar.bz2 |
Do create new fh if needed
-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 ) ) |