[
https://issues.apache.org/jira/browse/SLING-4583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marius Petria resolved SLING-4583.
----------------------------------
Resolution: Fixed
Committed revision 1674043.
Add a package.roots property to VaultDistributionPackageBuilderFactory. One can
specify some package.roots (e.g. /content/usergenerated) and for all packages
that contain paths under that root the user that assembles them will not need
to read /content)
> Have vlt packages constructed starting from their closest parent in order to
> necessitate a smaller set of privileges
> --------------------------------------------------------------------------------------------------------------------
>
> Key: SLING-4583
> URL: https://issues.apache.org/jira/browse/SLING-4583
> Project: Sling
> Issue Type: Improvement
> Components: Distribution
> Affects Versions: Content Distribution 0.1.0
> Reporter: Marius Petria
>
> Trying to build a package for /var/sling/distribution/diff/diff1 requires
> read privilege on /var. It should work also with an user that has privilege
> on var/sling/distribution/diff. This can be fixed using the root and mount
> paths for vlt packages.
> [1]
> https://github.com/apache/jackrabbit-filevault/blob/trunk/vault-core/src/test/java/org/apache/jackrabbit/vault/packaging/integration/TestMappedExport.java#L45
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)