[
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.5.0, 4.4.7 (was: 4.5.0, 4.4.6)
> 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)