DBA Directories

Description

Categories
Enginatics
Repository
GitHub
Database directory objects with their operating system path and the users granted read, write or execute access to them.

SQL 11 lines

select
dd.directory_name,
dd.directory_path,
dd.owner,
(select listagg(dtp.grantee||' ('||lower(dtp.privilege)||')',', ') within group (order by dtp.grantee, dtp.privilege) from dba_tab_privs dtp where dd.owner=dtp.owner and dd.directory_name=dtp.table_name) grants
from
dba_directories dd
where
1=1
order by
dd.directory_name

Parameters 1

ParameterTypeList of values SQL
Directory Path likeChar
dd.directory_path like :directory_path