Bug #118802 Contribution: Fix postrm script to properly handle directory removal
Submitted: 8 Aug 2025 23:48 Modified: 8 Jul 13:41
Reporter: OCA Admin (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:Shell General / Core Client Severity:S3 (Non-critical)
Version:9.4 OS:Any
Assigned to: CPU Architecture:Any
Tags: Contribution

[8 Aug 2025 23:48] OCA Admin
Description:
This bug tracks a contribution by Evgeniy Patlan (Github user: EvgeniyPatlan), as described in http://github.com/mysql/mysql-shell/pull/23

How to repeat:
See description

Suggested fix:
See contribution code attached
[8 Aug 2025 23:48] OCA Admin
Contribution submitted via Github - Fix postrm script to properly handle directory removal 
(*) Contribution by Evgeniy Patlan (Github EvgeniyPatlan, mysql-shell/pull/23#issuecomment-3168021370): I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Contribution: git_patch_2730585521.txt (text/plain), 1.21 KiB.

[11 Aug 2025 4:51] MySQL Verification Team
Hello Evgeniy Patlan,

Thank you for the report and contribution.

regards,
Umesh
[28 May 1:13] MySQL Admin
Posted by developer: Bug status updated to 'Documenting'
[8 Jul 13:41] Edward Gilmore
Posted by developer:
 
Added the following note to the MySQL Shell 26.7.0 release notes:
 
The postrm script did not check for the existence of 
/usr/lib/mysqlsh before attempting to delete it.
Our thanks to Evgeniy Patlan for the contribution.