// based on the isOverwriteAcl setting and whether we are creating or updating the RepositoryFile.
RepositoryFileAcl acl = null;
if ( applyAclSettings || retainOwnership ) {
try {
if ( manifest != null ) {
ExportManifestEntity entity = manifest.getExportManifestEntity( filePath );
if ( entity != null ) {
acl = entity.getRepositoryFileAcl();
}
}
} catch ( Exception e ) {
getLogger().trace( e );
}