Originally reported in https://bugs.chromium.org/p/chromium/issues/detail?id=878324#c116
Creating a file with append mode fails for crostini shared paths using 9p server when the file does not exist.
Example:
rsync -rtogvO --progress \
--log-file=/mnt/chromeos/MyFiles/Downloads/testfolder/testlog.txt \
/home/<username>/testfolder/ \
/mnt/chromeos/MyFiles/Downloads/testfolder/
rsync calls open with O_CREATE and O_APPEND. Testing shows that it is the O_APPEND flag which causes the command to fail with EINVAL (22), and that it looks like the 9p client code which is failing.
Comment 1 by bugdroid1@chromium.org
, Dec 7