Open lopar opened 4 months ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.
So I've been looking into this and there's a core problem that I can't really solve.
I can sort the permissions, that's not a problem, but the lang files are still going to be in the container filesystem which won't persist updates. I can't move the files out of the container filesystem into persistent storage because then they won't get updated when dokuwiki updates them.
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.
Is there an existing issue for this?
Current Behavior
Current chmods in container are:
No one can modify
inc/lang/
. Onlyconf/
,data/
andlib/
are accessible.Expected Behavior
Plugins in
dokiwiki/lib/plugins/PluginName/file.php
should have rw access todokuwiki/inc/lang/
.Looks like, somehow core constant
define('DOKU_INC', realpath(__DIR__ . '/../') . '/')
indokuwiki/bin/plugin.php
generates wrong path when using inDOKU_INC . "inc/lang/"
.That is permission problem inside container with (looks like) modified DokuWiki base file structure, I don't know how to correctly explain this. But the container should be rebuilded somehow under the circumstances.
Steps To Reproduce
Just use any DokuWiki plugin that modifies core languages. They won't do anything and won't show any errors.
Environment
CPU architecture
x86-64
Docker creation