Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fs: fix ceph copy error truncating readonly files #3920

Merged
merged 1 commit into from
Mar 12, 2023

Commits on Mar 10, 2023

  1. fs: fix ceph copy error truncating readonly files

    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: libuv#3919
    Refs: nodejs/node#37284
    Refs: libuv#3117
    Refs: libuv#3322
    Varstahl committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    77ef3d3 View commit details
    Browse the repository at this point in the history