You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sandor Molnar (Jira)" <ji...@apache.org> on 2020/11/15 10:14:00 UTC

[jira] [Commented] (KNOX-2469) Knox keystore directory creation fails when following a symlink

    [ https://issues.apache.org/jira/browse/KNOX-2469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17232220#comment-17232220 ] 

Sandor Molnar commented on KNOX-2469:
-------------------------------------

Thanks for your contribution, [~jameschen1519]!

Instead of uploading the patch, please open a GitHub PR as described here: [https://cwiki.apache.org/confluence/display/KNOX/Contribution+Process#ContributionProcess-GithubWorkflow]

Sample: [https://github.com/apache/knox/pull/367]

> Knox keystore directory creation fails when following a symlink
> ---------------------------------------------------------------
>
>                 Key: KNOX-2469
>                 URL: https://issues.apache.org/jira/browse/KNOX-2469
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.4.0, 1.5.0
>            Reporter: James Chen
>            Priority: Minor
>              Labels: easy-fix, patch-available
>             Fix For: 1.4.0, 1.5.0
>
>         Attachments: 0001-Fixing-Knox-symlink.patch
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> At the moment, if the keystore path does not exist, Knox attempts to create the parent directories of the keystore path recursively. However, there is an edge case, as described in JDK-8130464, where the directory creation fails if the final, parent directory of the keystore path is a symlink. This causes a failure during startup.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)