When running Automic Automation Engine utilities such as DBUnload (specifically the -BREORG reorganization process), operations may fail with "permission denied" or "insufficient privileges" errors. This behavior is due to a change in utility functionality (implemented in DE180043 on 24.4.4) which now requires the database user to have explicit permissions to create temporary tables.
Utilities fail to complete the database reorganization process. The following error is observed in the log:
U00003592 UCUDB - Status: '42501' Native error: '6818257' Msg: 'permission denied to create temporary tables in database "###"'
U00003592 / "Permission denied"Following the implementation of DE180043, the DBUnload and DBLoad utilities now attempt to create a temporary table (clct_run) to manage data processing. Previously, these utilities relied on different mechanisms (DIVDB). Database users without explicit permission to create temporary tables in the database schema will now encounter failures.
Depending on your database platform, ensure the following privileges are granted to the user defined in the [ODBC] section of your utility's .ini file:
The database user requires the TEMP privilege. Note that TEMP and TEMPORARY are synonyms in PostgreSQL.
GRANT TEMP ON DATABASE <ae_database> TO <ae_db_user>;<ae_database> with your Automic database and <ae_db_user> with your Automation Engine database user.The database user requires the CREATE PRIVATE TEMPORARY TABLE privilege.
GRANT CREATE PRIVATE TEMPORARY TABLE TO <ae_db_user>;<ae_db_user> with your Automation Engine database user.The database user requires specific usage rights on a defined user temporary tablespace.
CREATE USER TEMPORARY TABLESPACE usertemp1 MANAGED BY AUTOMATIC STORAGE;GRANT USE OF TABLESPACE usertemp1 TO USER <ae_db_user>;No additional configuration is required. The create table #clct_run command uses standard local temporary tables backed by the tempdb system database, which is accessible to all logins by default.
If the issue persists after applying these grants, please verify that your database policies do not override these schema-level permissions. To speak with a customer representative or a Support Engineer, see . Scroll to the bottom of the page and click on your respective region.