github new-usemame/Calibre-Web-NextGen v4.0.106
v4.0.106 — Upload no longer errors on restrictive filesystems (NAS / CIFS / bind mounts)

latest releases: v4.0.108, v4.0.107
2 hours ago

What's new

docker pull ghcr.io/new-usemame/calibre-web-nextgen:v4.0.106

(or :latest)

Upload no longer errors on restrictive filesystems

If you've ever tried to upload a book and gotten a confusing [Errno 1] Operation not permitted error — even though the book seemed to actually be in your library — this is the fix. It happens on filesystems that don't let the running user change file modes: CIFS shares without explicit file_mode/dir_mode, LinuxServer-style PUID/PGID Docker bind mounts, NFS squash-root shares. The data copy succeeded, but the follow-up "preserve permissions" step blew up and the error surfaced as if the whole upload had failed.

After this release, the permissions step is best-effort. If your filesystem allows it, modes are preserved; if it doesn't, the file is still uploaded successfully — you just get default permissions on the destination, which is fine because the ingest pipeline will re-process the file anyway.

Credits

Backport of janeczku/calibre-web#3437, originally reported by @rschiefer (283 days ago — sorry for the wait).

Don't miss a new Calibre-Web-NextGen release

NewReleases is sending notifications on new releases.