![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all, how can I check the users that have privileges on a certain Directory (object) ? thanks, pedro |
#3
| |||
| |||
|
|
On May 24, 4:41 pm, Pedro Lopes <pedro.lo... (AT) netvisao (DOT) pt> wrote: Hi all, how can I check the users that have privileges on a certain Directory (object) ? thanks, pedro This will give both users and roles: SELECT grantee FROM dba_tab_privs WHERE table_name = <directory_name |
#4
| |||
| |||
|
|
On 24 May 2007 13:59:45 -0700, Valentin Minzatu <valentinminz... (AT) yahoo (DOT) com wrote: On May 24, 4:41 pm, Pedro Lopes <pedro.lo... (AT) netvisao (DOT) pt> wrote: Hi all, how can I check the users that have privileges on a certain Directory (object) ? thanks, pedro This will give both users and roles: SELECT grantee FROM dba_tab_privs WHERE table_name = <directory_name You'd need more filters on that, such as "OWNER = 'SYS'" (which owns directory objects), and the READ and/or WRITE privileges (since you can have other objects with the same name, but they'll have different privileges like SELECT). -- Andy Hassall :: a... (AT) andyh (DOT) co.uk ::http://www.andyh.co.ukhttp://www.and....co.uk/space:: disk and FTP usage analysis tool |
#5
| |||
| |||
|
|
Make sure you take a look at what the init file or pfile setting is for utl_file_dir |
![]() |
| Thread Tools | |
| Display Modes | |
| |