Patch Reviews - Middleware (MOSC)

MOSC Banner

Redirecting /tmp to custom tmp location

edited Aug 26, 2018 5:06AM in Patch Reviews - Middleware (MOSC) 1 commentAnswered

I have tried to redirect the opatch_generic.jar install to a custom tmp location by setting

JAVA_OPTIONS Djava.io.tmpdir=/home/oracle/oracle_software/patches in the .chsrc

I found this help in SUPPORT.ORACLE.COM (Note 1316235.1)

When I try the install again, it still goes to /tmp and the OPatch directory still gets install in the /tmp directory

The reason I am trying to redirect the tmp location is oracle does not have exec on /tmp .  Oracle receives the following error when trying to patch

/oracle/MID/OPatch/opatch:  line 1378:  /tmp/oracle-home-......./OPatch/opatch:  Permission denied

Has anyone else experienced this?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center