Hi org-mode devs,

My apologies for the sparse & trivial bug report.

It seems as though =org-store-link= does not respect the "readonly" part of read-only buffers. I noticed it myself[1], found a bug report on stackexchange[2], and did not see the appropriate check in the code[3].

If this is unintended, I would be happy to try to submit a PR. I have not yet contributed to any emacs ecosystem, so I would be slow & bad at this, but happy to try.

🌸
Tennyson

[1]
Evil spacemacs, heavily customized

[2]
https://emacs.stackexchange.com/questions/79220/how-to-ignore-buffer-read-only-when-archiving-subtrees-in-org-mode

[3]
- https://github.com/bzg/org-mode/blob/main/lisp/ol.el#L1687-L1703
- https://github.com/bzg/org-mode/blob/9183e3c723b812360d1042196416d521db590e9f/lisp/ol.el#L1687-L1703