我该如何修复这个 Oracle 错误?

我该如何修复这个 Oracle 错误?

当我执行此命令时,它不起作用。为什么会出现此错误?我该怎么做才能解决这个问题?谢谢!

$ grant read,write on directory <SID>_DATA_PUMP_DIR to system;
$ grant read,write on directory <SID>_DATA_PUMP_DIR to system
                                                        *
ERROR at line 1:
ORA-01749: you may not GRANT/REVOKE privileges to/from yourself

答案1

我认为错误本身就说明了这一点。您已使用系统用户创建了 DBA_DIRECTORY,并尝试向其自身(所有者)提供授权。

ORA-01749:您不能授予/撤销自己的权限

我认为没有必要运行授权命令。

相关内容