OOPATCHAUTO-72043: Failed to create bundle patch object
When I tried to apply a bundle patch, I got errors like this:
[root@primary01 ~]# opatchauto apply /home/patches/31307682 -analyze
...
OPATCHAUTO-72043: Patch collection failed.
OPATCHAUTO-72043: Failed to create bundle patch object.
OPATCHAUTO-72043: Please verify the patch supplied.
OPatchAuto failed.
...
opatchauto failed with error code 42
This is because the bundle patch should be accessed not only by root, but also by grid and oracle, so I increase the permission of it.
[root@primary01 ~]# chmod -R 775 /home/patches/31307682
Or you can change owner to grid:oinstall.
[root@primary01 ~]# chown -R grid:oinstall /home/patches/31307682
It's all good now.