Skip to content

Commit

Permalink
Update perms for ZC config files (#3927)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyc-splunk authored Nov 16, 2023
1 parent 4e6f0cf commit 07c6b85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions instrumentation/packaging/fpm/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,15 @@ setup_files_and_permissions() {
sudo chmod 755 "$buildroot/$JAVA_AGENT_INSTALL_PATH"

download_nodejs_agent "$nodejs_agent_release" "${buildroot}/${NODEJS_AGENT_INSTALL_PATH}"
sudo chmod 644 "$buildroot/$NODEJS_AGENT_INSTALL_PATH"
sudo chmod 755 "$buildroot/$NODEJS_AGENT_INSTALL_PATH"

mkdir -p "$buildroot/$CONFIG_DIR_INSTALL_PATH"
cp -rf "$CONFIG_DIR_REPO_PATH"/* "$buildroot/$CONFIG_DIR_INSTALL_PATH"/
sudo chmod -R 644 "$buildroot/$CONFIG_DIR_INSTALL_PATH"
sudo chmod -R 755 "$buildroot/$CONFIG_DIR_INSTALL_PATH"

mkdir -p "$buildroot/$INSTALL_DIR"
cp -rf "$EXAMPLES_DIR" "$buildroot/$INSTALL_DIR/"
sudo chmod -R 644 "$buildroot/$EXAMPLES_INSTALL_DIR"
sudo chmod -R 755 "$buildroot/$EXAMPLES_INSTALL_DIR"

sudo chown -R root:root "$buildroot"
}

0 comments on commit 07c6b85

Please sign in to comment.