db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From derby-...@db.apache.org
Subject [jira] Commented: (DERBY-19) NPE when trying to create a database at a directory that is not allowed
Date Thu, 30 Sep 2004 08:37:32 GMT
The following comment has been added to this issue:

     Author: Jan Hlavatý
    Created: Thu, 30 Sep 2004 1:36 AM
This is a broader problem - you let anyone create databases whereever he wants. I dont think
this is a good idea - someone might create garbage all over the server system. Maybe there
should be a way to allow only certain directories.

View this comment:

View the issue:

Here is an overview of the issue:
        Key: DERBY-19
    Summary: NPE when trying to create a database at a directory that is not allowed
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Derby

   Reporter: Ramandeep Kaur

    Created: Wed, 29 Sep 2004 12:09 PM
    Updated: Thu, 30 Sep 2004 1:36 AM

Opening this bug on behalf of Daniel Debrunner

This bug occurs in embedded Derby and Derby Network Server. In Derby Network Server, it might
be best for a security exception to be thrown when trying to create a database at a disallowed
directory (SQLSTATE 38000).

This bug can be reproduced in IJ like so:
(if your 'D' drive is an inaccessible disk. e.g. your CD-ROM)
ij> connect 'jdbc:derby:d:/wombat2;create=true';
ERROR XJ041: Failed to create database 'd:/wombat2'

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

View raw message