CRS-4995: The command ‘Setperm resource’ is invalid in crsctl

While running “crsctl setperm” from 12.1.0.2 GI environment, CRS-4995 error occurred.

1. Run the command as grid user.

$ crsctl getperm resource ora.testdb.test.svc 
Name: ora.testdb.test.svc
owner:oracle:rwx,pgrp:oinstall:r--,other::r--,group:dba:r-x,user:grid:r-x

$crsctl setperm resource ora.testdb.test.svc -u 'pgrp:oinstall:r-x' CRS-4995: The command 'Setperm resource' is invalid in crsctl. Use srvctl for this command.

Subscribe to get access

Read more of this content when you subscribe today.