My Oracle Support Banner

ASMCMD Fails From Non-grid User Even if it Belongs To Same Groups ( Permission denied ) (Doc ID 1295851.1)

Last updated on FEBRUARY 18, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 12.1.0.1 [Release 11.2 to 12.1]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Symptoms


 When invoking asmcmd with an OS user other than the Grid Home owner it fails with

<Grid Infrastructure Home>/bin/asmcmd: line 122: <Grid Infrastructure Home>/perl/bin/perl: Permission denied
<Grid Infrastructure Home>/bin/asmcmd: line 142: <Grid Infrastructure Home>/perl/bin/perl: Permission denied
<Grid Infrastructure Home>/bin/asmcmd: line 142: exec: <Grid Infrastructure Home>/perl/bin/perl: cannot execute: Permission denied

The user belongs to the primary group and other groups that the Grid Home owner belongs to

SYSDBA and SYSASM connections from that user goes through fine

Cause

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
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.