How to query the permissions on an Oracle directory?
问题 I have a directory in all_directories, but I need to find out what permissions are associated with it, i.e. what has been granted on it? 回答1: This should give you the roles, users and permissions granted on a directory: SELECT * FROM all_tab_privs WHERE table_name = 'your_directory'; --> needs to be upper case And yes, it IS in the all_TAB_privs view ;-) A better name for that view would be something like "ALL_OBJECT_PRIVS", since it also includes PL/SQL objects and their execute permissions