As referenced in patch #2, fuse + fsync fails with aio because of the async punt of fsync not inheriting the original task creds. Apply the same sort of fix for io_uring, and apply it globally to all requests so we ensure we always present the rights creds when offloaded. fs/io-wq.c | 24 ++++++++++++++++-------- fs/io-wq.h | 13 ++++++++++--- fs/io_uring.c | 23 +++++++++++++++++++++-- 3 files changed, 47 insertions(+), 13 deletions(-) -- Jens Axboe