firebird.qa.plugin.ExecutionError: gbak execution failed

gbak: ERROR:unsuccessful metadata update
gbak: ERROR:    ALTER DATABASE failed
gbak: ERROR:    no permission for ALTER access to DATABASE 
gbak:Exiting before completion due to errors

LOG DETAILS:

2026-07-22 11:25:44.992
2026-07-22 11:25:45.001 act_src = <firebird.qa.plugin.Action object at [hex]>
2026-07-22 11:25:45.007 act_res = <firebird.qa.plugin.Action object at [hex]>
2026-07-22 11:25:45.013 tmp_fbk = PosixPath('/var/tmp/qa_2024/test_1880/tmp_core_4524.encrypted.fbk')
2026-07-22 11:25:45.019 capsys = <_pytest.capture.CaptureFixture object at [hex]>
2026-07-22 11:25:45.026
2026-07-22 11:25:45.033 @pytest.mark.encryption
2026-07-22 11:25:45.042 @pytest.mark.version('>=4.0')
2026-07-22 11:25:45.052 def test_1(act_src: Action, act_res: Action, tmp_fbk:Path, capsys):
2026-07-22 11:25:45.059
2026-07-22 11:25:45.065 init_sql = """
2026-07-22 11:25:45.077 set bail on;
2026-07-22 11:25:45.086 create sequence gen_ba0bab start with 12192683;
202

[...SKIPPED...]

-07-22 11:25:46.161 E           gbak:Exiting before completion due to errors
2026-07-22 11:25:46.167
2026-07-22 11:25:46.174 tests/bugs/core_4524_test.py:254: ExecutionError
2026-07-22 11:25:46.189 ---------------------------- Captured stdout setup -----------------------------
2026-07-22 11:25:46.202 Creating db: localhost:/var/tmp/qa_2024/test_1880/test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]
2026-07-22 11:25:46.212 Creating db: localhost:/var/tmp/qa_2024/test_1880/tmp_core_4524.restored.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]
2026-07-22 11:25:46.220 -------------------------- Captured gbak stderr call ---------------------------
2026-07-22 11:25:46.232 gbak: ERROR:unsuccessful metadata update
2026-07-22 11:25:46.242 gbak: ERROR:    ALTER DATABASE failed
2026-07-22 11:25:46.255 gbak: ERROR:    no permission for ALTER access to DATABASE
2026-07-22 11:25:46.264 gbak:Exiting before completion due to errors