When performing a non root Spectrum install, the CA folder is set for root ownership.
search cancel

When performing a non root Spectrum install, the CA folder is set for root ownership.

book

Article ID: 280671

calendar_today

Updated On:

Products

Network Observability

Issue/Introduction

We have noticed that after we have performed a non root install, that the root folder is set as root and not as install owner.

Is this intentional or is this an oversight?

Environment

Spectrum 22.2.x  / Spectrum 23.3.x

Non-Root Install

Resolution

Spectrum intentionally will leave the CA folder as root and set only the /opt/CA/SharedComponents folder. 

Additional Information

This is done using the spectrum_nonroot_prepost_install.sh script.

 

$SPECROOT/Install-Tools/spectrum_nonroot_prepost_install.sh
install_capki()

{
    echo "Installing capki"
    $SPECROOT/Install-Tools/CAPKI/setup install caller=SPECTRUM env=all
    chown -R $SPECOWNER:$SPECOWNER /opt/CA/SharedComponents
}