Two small patches
One fixes #103 and the other just slightly improves error messages in downstream consumers who mistakenly ask to support writes when opening files.
Thanks. This is brilliant!
Nice! @fangfufu Would it be possible to release a new version (1.2.4) with that fix included? Need that to run httpdirfs on aarch64 / Asahi Linux on Apple Silicon M1. Thanks!
You can just compile the latest master branch, no? These patches are merged in.
Yeah, I did, kind of, that just now. I am new to Arch Linux and still figuring things out...
I cherry-picked the commits from this pull request on top of the 1.2.3 tag and used that in the Arch PKGBUILD file (I made a fork: https://github.com/mkurz/httpdirfs/releases/tag/1.2.3.1). It worked! I can now use it on my Macbook Pro M1 running Asahi Linux :partying_face:
(I cherry-picked because I was not sure if the master branch is stable, so I stayed on the 1.2.3 release)
However, a new patch release would still be nice, so the AUR package (https://aur.archlinux.org/packages/httpdirfs) could use it, which would be a much better user experience for arm/aarch64 users (instead of patching by him/herself). Thanks!