Open jmascart opened 7 years ago
I'm not sure if it's the same problem or not, but Finder makes a lot of getattr calls when he is writing a file into an acdcli mountpoint. But getattr will return a size of 0, although some datas have already been written.
I don't know if it confuses Finder, but for sure it confuses OSXFUSE: "if osxfuse detects a change in a file's size during getattr(), it will purge that file's buffer cache." (source https://github.com/osxfuse/osxfuse/wiki/Mount-options).
I can reproduce that if a program is making write calls, and another program makes a getattr() on the file that returns a 0 size, the next write received by the fuse implementation will have an offset reseted to zero. acdcli doesn't like it and says "illegal seek".
So maybe the problem is with OSXFUSE ?
Hello, I use acd_cli on Linux and Mac OS. On Linux i have no problem, but on Mac i can't paste files in the mountpoint with Finder. The cp command works, but i'd like to paste from Finder.
I tried to remove the xattrs from a file but it doesn't make the paste work.
The error in Finder:
If it may help, here is a log when i copy an image with cp command, and when i try to copy/paste the exact same file with finder
cp.log.txt copy-paste-in-finder.log.txt