Skip to content

After granting system privilege USE_GBAK_UTILITY to a role, they still can't use gbak. #8298

@nickolasdeluca

Description

@nickolasdeluca

Firebird version: 4.0.4.3010.

Steps to reproduce:
1 - Created a user called backup.
2 - Created a role called BACKUP_ROLE using this command:

CREATE ROLE BACKUP_ROLE SET SYSTEM PRIVILEGES TO USE_GBAK_UTILITY;

3 - Granted the user backup the role of BACKUP_ROLE
4 - Tried to use gbak with the backup user

Got this message:

C:\Program Files\Firebird\Firebird_4_0>gbak.exe -b -user backup -password "MYPW" "MYDBPATH.FDB" "MYFBKPATH.FBK"
gbak: ERROR:Unable to perform operation
gbak: ERROR:    System privilege USE_GBAK_UTILITY is missing
gbak:Exiting before completion due to errors

The password, the database path and fbk path were redacted because of obvious reasons but they were correctly typed, I double checked

What am I supposed to do to allow my user backup to perform gbak backups and restores?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions