opatch util cleanup Version 184.108.40.206.23 and 220.127.116.11.19 , 18.104.22.168.18 removes OS Directories /bin, /lib, ...
(Doc ID 2660936.1)
Last updated on APRIL 17, 2023
Applies to:Oracle Database - Standard Edition - Version 22.214.171.124 and later
Information in this document applies to any platform.
When using Opatch Utility version 126.96.36.199.18 / 188.8.131.52.19 / 184.108.40.206.23 to perform cleanup of Oracle Home , it tries to delete all the files including root directory .
command behavior explained :
On Unix :
No matter from where you run "opatch util cleanup" , it will try to delete all the files / directory under root if the oracle user has permission .
On windows :
current_working_directory will be affected if the windows OS user has the access to delete the files , it will delete else , it fails with the java errors and exits .
If you run it as administrator , then there are chances that it might delete all the files from current_working_directory .
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document