You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2022/10/11 12:37:00 UTC

[jira] [Updated] (KARAF-7056) Add support for relocated karaf.data and karaf.log dirs to sftp service

     [ https://issues.apache.org/jira/browse/KARAF-7056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-7056:
----------------------------------------
    Target Version/s: 4.4.3, 4.3.9  (was: 4.3.8, 4.4.3)

> Add support for relocated karaf.data and karaf.log dirs to sftp service
> -----------------------------------------------------------------------
>
>                 Key: KARAF-7056
>                 URL: https://issues.apache.org/jira/browse/KARAF-7056
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf
>    Affects Versions: 4.2.10
>            Reporter: Matt Pavlovich
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>
> The sftp service could add virtual file system to support relocated directories, such as karaf.data, karaf.log, etc
> Design notes:
> 1. relocatedDirectoriesEnabled = false (by default)
> 2. directoryDenyList = /, /etc, /root, /boot, /tmp, /home (sensible defaults)
> 3. When the folders are non-default, map karaf.data, karaf.log, etc to /data, /data/log (to appear as the default) in the sftp virtual fs structure (do not disclose the actual filesystem path to prevent information leak)
> 4. If a real folder called 'karaf.data' already exists, log a warn and do not map the relocated directory



--
This message was sent by Atlassian Jira
(v8.20.10#820010)