prtdiag does not work for non-root users and gives error di_prom_init() failed: Permission denied (Doc ID 1352482.1)

Last updated on SEPTEMBER 22, 2014

Applies to:

Solaris SPARC Operating System - Version 10 10/09 U8 and later
Information in this document applies to any platform.

Symptoms

prtdiag command is not working for non-root users and throws below error

#prtdiag -v
prtdiag: di_prom_init() failed: Permission denied

#ppriv -eD prtdiag
prtdiag[15799]: missing privilege "file_dac_read" (euid = 108, syscall = 5) needed at ufs_iaccess+0x110
prtdiag[15799]: missing privilege "file_dac_read" (euid = 108, syscall = 5) needed at ufs_iaccess+0x110
prtdiag: di_prom_init() failed: Permission denied

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