Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PS-9317 chgrp and chmod errors during PS package installation with PE… #5358

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build-ps/percona-server-8.0_builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1086,8 +1086,8 @@ build_deb(){
cat call-home.sh >> percona-server-server"${postfix}".postinst
echo "CALLHOME" >> percona-server-server"${postfix}".postinst
echo "bash +x /tmp/call-home.sh -f \"PRODUCT_FAMILY_PS\" -v \"${VERSION}-${RELEASE}-${DEB_RELEASE}\" -d \"PACKAGE\" &>/dev/null || :" >> percona-server-server"${postfix}".postinst
echo "chgrp percona-telemetry /usr/local/percona/telemetry_uuid" >> percona-server-server"${postfix}".postinst
echo "chmod 664 /usr/local/percona/telemetry_uuid" >> percona-server-server"${postfix}".postinst
echo "chgrp percona-telemetry /usr/local/percona/telemetry_uuid &>/dev/null || :" >> percona-server-server"${postfix}".postinst
echo "chmod 664 /usr/local/percona/telemetry_uuid &>/dev/null || :" >> percona-server-server"${postfix}".postinst
echo "rm -rf /tmp/call-home.sh" >> percona-server-server"${postfix}".postinst
echo "exit 0" >> percona-server-server"${postfix}".postinst
rm -f call-home.sh
Expand Down
4 changes: 2 additions & 2 deletions build-ps/percona-server.spec
Original file line number Diff line number Diff line change
Expand Up @@ -817,8 +817,8 @@ fi

cp %SOURCE999 /tmp/ 2>/dev/null ||
bash /tmp/call-home.sh -f "PRODUCT_FAMILY_PS" -v %{mysql_version}-%{percona_server_version}-%{rpm_release} -d "PACKAGE" &>/dev/null || :
chgrp percona-telemetry /usr/local/percona/telemetry_uuid
chmod 664 /usr/local/percona/telemetry_uuid
chgrp percona-telemetry /usr/local/percona/telemetry_uuid &>/dev/null || :
chmod 664 /usr/local/percona/telemetry_uuid &>/dev/null || :
rm -f /tmp/call-home.sh

echo "Percona Server is distributed with several useful UDF (User Defined Function) from Percona Toolkit."
Expand Down
Loading