Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow symlinks in bookpath #281

Open
bertsky opened this issue Sep 2, 2021 · 0 comments
Open

allow symlinks in bookpath #281

bertsky opened this issue Sep 2, 2021 · 0 comments
Labels
Priority: Low Type: Enhancement Indicates an enhancement proposal for an existing feature

Comments

@bertsky
Copy link

bertsky commented Sep 2, 2021

Now that METS (and rotation) is supported, there is no need to export to LAREX from OCR-D (and back) anymore. However, that also means I will need a central storage location for all my workspaces, which is quite inconvenient. Symlinked directories still do not seem to be supported (probably because Jetty/Catalina/Tomcat prohibit this for security reasons) – they are simply ignored.

Now, the default /usr/local/tomcat/conf/context.xml sets up permissions like this:

<!-- The contents of this file will be loaded for each web application -->
<Context><Resources allowLinking="true"/>

    <!-- Default set of monitored resources. If one of these changes, the    -->
    <!-- web application will be reloaded.                                   -->
    <WatchedResource>WEB-INF/web.xml</WatchedResource>
    <WatchedResource>WEB-INF/tomcat-web.xml</WatchedResource>
    <WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>

    <!-- Uncomment this to disable session persistence across Tomcat restarts -->
    <!--
    <Manager pathname="" />
    -->
</Context>

Which means some linking should already be allowed. Any ideas what I could try to get past this barrier?

@maxnth maxnth added the Type: Enhancement Indicates an enhancement proposal for an existing feature label Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Low Type: Enhancement Indicates an enhancement proposal for an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants