Subject RE: [firebird-support] Re: db file access right
Author Nigel Weeks
I doubt very much that you can set a umask for the firebird server.

Just add a like to your makefile that chmod's the database file...


-----Original Message-----
From: firebird-support@yahoogroups.com
[mailto:firebird-support@yahoogroups.com]On Behalf Of Fabrice Aeschbacher
Sent: Wednesday, 5 July 2006 5:24 PM
To: firebird-support@yahoogroups.com
Subject: [firebird-support] Re: db file access right


Hi,

In fact, we are using isql within a Makefile to create a database
('make db') during the developpment process. The new database is just
a 'defaut' database, and I want to allow non-root user to be able copy
the database (which is absolutely not used, but needs to be readable
for everybody).

How could I set up Firebird so that the permission of the created db
is 0644?

Best regards,
Fabrice

--- In firebird-support@yahoogroups.com, "Fabrice Aeschbacher"
<fabrice.aeschbacher@...> wrote:
>
> Hi,
>
> (FB 1.5 / linux)
>
> The default access rights for database files (*.fdb) are 0600
> (read/write for root).
>
> For some raison, we want the db files to be created with access mode =
> 0644.
>
> How can I do this?
>
> Best regards,
> Fabrice
>





__________ NOD32 1.1644 (20060704) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com


[Non-text portions of this message have been removed]