aboutsummaryrefslogtreecommitdiff
path: root/test/test-tcp-try-write-error.c
diff options
context:
space:
mode:
authorBruno Passeri <Varstahl@users.noreply.github.com>2023-03-12 12:05:45 +0100
committerGitHub <noreply@github.com>2023-03-12 12:05:45 +0100
commitdfb206c8b06d9581dbbc52e2013dc18681694683 (patch)
tree401f7a2fca5f7e21aa45c631dc0ef5893907901d /test/test-tcp-try-write-error.c
parent9581e3df0cb3529372d731710d70c94e0c0fe8e7 (diff)
downloadlibuv-dfb206c8b06d9581dbbc52e2013dc18681694683.tar.gz
libuv-dfb206c8b06d9581dbbc52e2013dc18681694683.zip
linux: fix ceph copy error truncating readonly files (#3920)
Trying to copy a read-only file onto a ceph-fuse filesystem fails, returning an `EACCES` error. This happens when the destination doesn't exist yet, and a new file is created. By checking that the error matches, and that the destination file is empty, we can fix this issue while waiting for a proper Ceph fix to be upstreamed. Fixes: https://github.com/libuv/libuv/issues/3919 Refs: https://github.com/nodejs/node/issues/37284 Refs: https://github.com/libuv/libuv/issues/3117 Refs: https://github.com/libuv/libuv/issues/3322
Diffstat (limited to 'test/test-tcp-try-write-error.c')
0 files changed, 0 insertions, 0 deletions