Permission Denied Running Oratab On OCI and OCI-Classic

(Doc ID 2368803.1)

Last updated on MARCH 02, 2018

Applies to:

Oracle Cloud Infrastructure - Version N/A to N/A [Release 1.0]
Information in this document applies to any platform.

Symptoms

Customer logs onto the OCI or OCI-Classic machine as opc user and sudo in as oracle and tries to set environment variables by running oraenv and gets permission denied.

Changes

 Environment does not reset without "-" option in sudo connection as opc user.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms