Permission error message is displayed when the Metadata script is extracted
using ISQL
--------------------------------------------------------------------------------------
Key: CORE-6118
URL: http://tracker.firebirdsql.org/browse/CORE-6118
Project: Firebird Core
Issue Type: Bug
Components: ISQL
Affects Versions: 3.0.4
Environment: Windows 10 (x64)
Firebird 3.0.4
Reporter: Luciano Mendes
Attachments: ERROR.png
ACTUAL RESULT
The following error message is displayed when the Metadata script is extracted
using ISQL:
===
Statement failed, SQLSTATE = 28000
no permission for read-write access to database C:\PROGRAM
FILES\FIREBIRD\FIREBIRD_3_0\SECURITY3.FDB
-IProvider::attachDatabase failed when working with CREATE DATABASE grants
===
EXPECTED RESULTS
No error message should be displayed when the Metadata script is extracted
using ISQL
STEPS TO REPRODUCE THE ISSUE
- Install the Firebird 3.0.4 without define a SYSDBA password
- Setup the SYSDBA password after the installation using the following command:
ALTER CURRENT USER SET PASSWORD 'SYSDBAPWD' USING PLUGIN LEGACY_USERMANAGER;
- Create a Firebird 3.0.4 database using the SYSDBA user and than add some
tables on it
- Restart the Firebird 3.0.4 using the followong command:
net stop FirebirdServerDefaultInstance
net start FirebirdServerDefaultInstance
- Try to extract the Metadata script using the following command:
"%ProgramFiles%\Firebird\Firebird_3_0\isql.exe" -user SYSDBA -password
SYSDBAPWD -extract -output "FB30_DDL.SQL" "<Path or alias to database>"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel