Closed lwoggardner closed 10 months ago
I have replicated this on Linux running FUSE 2.9.9 so unlinkely to be a osxfuse issue. fgetattr is removed in Fuse 3 , and in Fuse2 falls back getattr if not implemented so there's really no reason to implement them anyway. (similar applies to ftruncate/truncate).
Hello, I am working on Ruby bindings for FUSE (ffi-libfuse) and (finally) getting it running on MacOS.
I'm almost there but having one issue with the fgetattr() call received after create().
Unlike callbacks to plain getattr() the
stat
struct in the call following create() has not been zeroed, and although the stat struct is filled appropriately (I think), and zero is returned, the fgetattr results in 'DELETE: 2 unique: 7, error: -5 (Input/output error), outsize: 16' which is then sent back to the client.Any thoughts on what I might be doing wrong?
Debug output.