The fix doesn't seem to work for the Debian package: The jetty base directory /usr/lib/xwiki-jetty is read-only and owned by root in Debian and thus the added mkdir command fails, so nothing changes. I asked Claude Code to test in an actual Debian environment with a Docker container and it found that even making work a symlink to a writable location doesn't help. Suggested options for a fix:
Make Jetty's temp dir explicit via config to a writable path (e.g. set the deploy/context temp dir to /var/lib/xwiki/work), bypassing the base-writability-gated work/auto-detection
Split jetty home/base, relocating jetty.base under /var/lib/xwiki (writable, in ReadWritePaths)
To keep things clean, I'm going to revert the changes for the 18.6.0RC and move this issue to 18.6.0.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.