Create firebird database in specific directoryDirectory permissionHow to install Oracle Database 11g Express Edition on Ubuntu 12.10?MyISAM problem after moving datadir of a MySQL databaseUser in sudo group cannot perform sudo operationsMysql Error SQLSTATE[HY000] [1045] Access denied for user. While installing Drupal 7 in localhostusers in group can not create filesuser cannot open a specific directoryPermission denied after trying to create mysqldump, even after creating .my.cnf file

Why are there never-ending wars in the Middle East?

How would a race of humanoids with tails design [vehicle] seats?

Will my familiar remember me when I re-summon it, or is it a new entity?

Is rent considered a debt?

Repair drywall and protect wires on back of electrical panel

Is this really played by 2200+ players?

Replacing each letter with the letter that is in the corresponding position from the end of the English alphabet

Are there any Baryons that have quark-antiquark combinations?

How to include conditional statements in NIntegrate?

Make a list of Fibonacci numbers less than 1000, whose index is in the form 3m+1. Verify that all these numbers are odd

Do neurons of a neural network model a linear relationship?

Matrix class in C#

What's the safest shape for homemade hard-candy

Which person is telling the truth?

Vertical Yagi spun at 1000 RPM: gain properties?

Should I respond to a sabotage accusation e-mail at work?

Why didn't Aboriginal Australians discover agriculture?

What does "he was equally game to slip into bit parts" mean?

10x10 grid with no unpainted hexominoes

How to run fortran77 program with inputs from file?

Automatically creating table with borders

For piano scales, should I let go of the previous key before I hit the next one?

Remove x last elements of an array and reinsert them before position y

What are the advantages to banks being located in the City of London (the Square Mile)?



Create firebird database in specific directory


Directory permissionHow to install Oracle Database 11g Express Edition on Ubuntu 12.10?MyISAM problem after moving datadir of a MySQL databaseUser in sudo group cannot perform sudo operationsMysql Error SQLSTATE[HY000] [1045] Access denied for user. While installing Drupal 7 in localhostusers in group can not create filesuser cannot open a specific directoryPermission denied after trying to create mysqldump, even after creating .my.cnf file






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









2

















I want to be able to create a firebird database in a specific directory. I know that the firebird user needs to have r/w/x permissions to the directory where I want to create the db. I created a group called 'tracker' and I added my user and the firebird user to that group.



firebird@ubuntu:/$ groups firebird
firebird tracker


I created a main directory called 'tracker'



drwxrwx--- 3 me tracker 4096 Oct 16 10:40 tracker


Inside the 'tracker' directory I created an 'fdb' directory where I want the firebird DB's to be created.



drwxrwx--- 2 firebird firebird 4096 Oct 16 11:35 fdb


Now when I try to create the database using the following command:



CREATE DATABASE 'localhost:/tracker/fdb/test.fdb' page_size 8192 user 'SYSDBA' password 'foobar' DEFAULT CHARACTER SET UTF8;


I get the following error:



Statement failed, SQLSTATE = 08001
I/O error during "open O_CREAT" operation for file "/tracker/fdb/test.fdb"
-Error while trying to create file
-Permission denied


If a change the 'tracker' directory to belong to the 'firebird' group then it creates the database, which makes sense, but since the firebird user belongs to the 'tracker' group, it shouldn't have any permission problems.



What am I missing here??



I'm using firebird 2.5.



Thanks










share|improve this question
































    2

















    I want to be able to create a firebird database in a specific directory. I know that the firebird user needs to have r/w/x permissions to the directory where I want to create the db. I created a group called 'tracker' and I added my user and the firebird user to that group.



    firebird@ubuntu:/$ groups firebird
    firebird tracker


    I created a main directory called 'tracker'



    drwxrwx--- 3 me tracker 4096 Oct 16 10:40 tracker


    Inside the 'tracker' directory I created an 'fdb' directory where I want the firebird DB's to be created.



    drwxrwx--- 2 firebird firebird 4096 Oct 16 11:35 fdb


    Now when I try to create the database using the following command:



    CREATE DATABASE 'localhost:/tracker/fdb/test.fdb' page_size 8192 user 'SYSDBA' password 'foobar' DEFAULT CHARACTER SET UTF8;


    I get the following error:



    Statement failed, SQLSTATE = 08001
    I/O error during "open O_CREAT" operation for file "/tracker/fdb/test.fdb"
    -Error while trying to create file
    -Permission denied


    If a change the 'tracker' directory to belong to the 'firebird' group then it creates the database, which makes sense, but since the firebird user belongs to the 'tracker' group, it shouldn't have any permission problems.



    What am I missing here??



    I'm using firebird 2.5.



    Thanks










    share|improve this question




























      2












      2








      2








      I want to be able to create a firebird database in a specific directory. I know that the firebird user needs to have r/w/x permissions to the directory where I want to create the db. I created a group called 'tracker' and I added my user and the firebird user to that group.



      firebird@ubuntu:/$ groups firebird
      firebird tracker


      I created a main directory called 'tracker'



      drwxrwx--- 3 me tracker 4096 Oct 16 10:40 tracker


      Inside the 'tracker' directory I created an 'fdb' directory where I want the firebird DB's to be created.



      drwxrwx--- 2 firebird firebird 4096 Oct 16 11:35 fdb


      Now when I try to create the database using the following command:



      CREATE DATABASE 'localhost:/tracker/fdb/test.fdb' page_size 8192 user 'SYSDBA' password 'foobar' DEFAULT CHARACTER SET UTF8;


      I get the following error:



      Statement failed, SQLSTATE = 08001
      I/O error during "open O_CREAT" operation for file "/tracker/fdb/test.fdb"
      -Error while trying to create file
      -Permission denied


      If a change the 'tracker' directory to belong to the 'firebird' group then it creates the database, which makes sense, but since the firebird user belongs to the 'tracker' group, it shouldn't have any permission problems.



      What am I missing here??



      I'm using firebird 2.5.



      Thanks










      share|improve this question















      I want to be able to create a firebird database in a specific directory. I know that the firebird user needs to have r/w/x permissions to the directory where I want to create the db. I created a group called 'tracker' and I added my user and the firebird user to that group.



      firebird@ubuntu:/$ groups firebird
      firebird tracker


      I created a main directory called 'tracker'



      drwxrwx--- 3 me tracker 4096 Oct 16 10:40 tracker


      Inside the 'tracker' directory I created an 'fdb' directory where I want the firebird DB's to be created.



      drwxrwx--- 2 firebird firebird 4096 Oct 16 11:35 fdb


      Now when I try to create the database using the following command:



      CREATE DATABASE 'localhost:/tracker/fdb/test.fdb' page_size 8192 user 'SYSDBA' password 'foobar' DEFAULT CHARACTER SET UTF8;


      I get the following error:



      Statement failed, SQLSTATE = 08001
      I/O error during "open O_CREAT" operation for file "/tracker/fdb/test.fdb"
      -Error while trying to create file
      -Permission denied


      If a change the 'tracker' directory to belong to the 'firebird' group then it creates the database, which makes sense, but since the firebird user belongs to the 'tracker' group, it shouldn't have any permission problems.



      What am I missing here??



      I'm using firebird 2.5.



      Thanks







      12.04 permissions mysql database






      share|improve this question














      share|improve this question











      share|improve this question




      share|improve this question










      asked Oct 16 '13 at 19:59









      jramirezjramirez

      1111 silver badge4 bronze badges




      1111 silver badge4 bronze badges























          1 Answer
          1






          active

          oldest

          votes


















          0


















          You can try first with firebird user if you can create a file in that directory




          sudo su firebird




          also you might check DatabaseAccess in firebird.conf , but by default it should be Full






          share|improve this answer




























          • I did that and yes I can create a file in that directory. I will check DatabaseAccess. Thanks for the response.

            – jramirez
            Dec 17 '13 at 0:01












          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );














          draft saved

          draft discarded
















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f360000%2fcreate-firebird-database-in-specific-directory%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown


























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0


















          You can try first with firebird user if you can create a file in that directory




          sudo su firebird




          also you might check DatabaseAccess in firebird.conf , but by default it should be Full






          share|improve this answer




























          • I did that and yes I can create a file in that directory. I will check DatabaseAccess. Thanks for the response.

            – jramirez
            Dec 17 '13 at 0:01















          0


















          You can try first with firebird user if you can create a file in that directory




          sudo su firebird




          also you might check DatabaseAccess in firebird.conf , but by default it should be Full






          share|improve this answer




























          • I did that and yes I can create a file in that directory. I will check DatabaseAccess. Thanks for the response.

            – jramirez
            Dec 17 '13 at 0:01













          0














          0










          0









          You can try first with firebird user if you can create a file in that directory




          sudo su firebird




          also you might check DatabaseAccess in firebird.conf , but by default it should be Full






          share|improve this answer
















          You can try first with firebird user if you can create a file in that directory




          sudo su firebird




          also you might check DatabaseAccess in firebird.conf , but by default it should be Full







          share|improve this answer















          share|improve this answer




          share|improve this answer








          edited Apr 29 '15 at 11:49









          Maythux

          55.4k35 gold badges188 silver badges230 bronze badges




          55.4k35 gold badges188 silver badges230 bronze badges










          answered Dec 13 '13 at 9:56









          MariuzMariuz

          2332 silver badges7 bronze badges




          2332 silver badges7 bronze badges















          • I did that and yes I can create a file in that directory. I will check DatabaseAccess. Thanks for the response.

            – jramirez
            Dec 17 '13 at 0:01

















          • I did that and yes I can create a file in that directory. I will check DatabaseAccess. Thanks for the response.

            – jramirez
            Dec 17 '13 at 0:01
















          I did that and yes I can create a file in that directory. I will check DatabaseAccess. Thanks for the response.

          – jramirez
          Dec 17 '13 at 0:01





          I did that and yes I can create a file in that directory. I will check DatabaseAccess. Thanks for the response.

          – jramirez
          Dec 17 '13 at 0:01


















          draft saved

          draft discarded















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f360000%2fcreate-firebird-database-in-specific-directory%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown









          Popular posts from this blog

          Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

          How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

          Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü