Subject | Cannot run nbackup as non-root |
---|---|
Author | darklord28099 |
Post date | 2011-06-17T18:21:35Z |
Hello,
I am trying to run nbackup on a Kubuntu box running Firebird 2.5
Linux version 2.6.32-26-generic (buildd@rothera) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #48-Ubuntu SMP Wed Nov 24 09:00:03 UTC 2010
When I run the command
/opt/firebird/bin/nbackup -U sysdba -P ... -B 0 localhost:/path/to/database.gdb /path/to/backup/to/name.nbk
it returns
Failure: Error (13) opening database file: /db/ib/rsa/rsawpf.gdb
The database and the directory containing the database both belong to the firebird group, and I am able to connect to the database through other methods (SQuirreL and gbak both work fine). The user running the command is not root and is not part of the firebird group. Running the command using sudo executes properly.
Is there anything I can do to run this command without having to sudo it?
Thanks in advance,
Jeffrey
I am trying to run nbackup on a Kubuntu box running Firebird 2.5
Linux version 2.6.32-26-generic (buildd@rothera) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #48-Ubuntu SMP Wed Nov 24 09:00:03 UTC 2010
When I run the command
/opt/firebird/bin/nbackup -U sysdba -P ... -B 0 localhost:/path/to/database.gdb /path/to/backup/to/name.nbk
it returns
Failure: Error (13) opening database file: /db/ib/rsa/rsawpf.gdb
The database and the directory containing the database both belong to the firebird group, and I am able to connect to the database through other methods (SQuirreL and gbak both work fine). The user running the command is not root and is not part of the firebird group. Running the command using sudo executes properly.
Is there anything I can do to run this command without having to sudo it?
Thanks in advance,
Jeffrey