Subject Re: db file access right
Author Fabrice Aeschbacher
No. The default umask for root is 0022.

# touch /tmp/a
# ls -l /tmp/a
-rw-r--r-- 1 root root 0 Jul 4 16:51 /tmp/a

As you can see, the file is readable for all users. But the database
files created by FB are not:

# ls -l
-rw------- 1 root root 2101248 Apr 20 13:24 mydb.fdb

Any idea?

Fabrice

--- In firebird-support@yahoogroups.com, "Nick" <nick@...> wrote:
>
> Man umask
>
> --
> Nick
> -----We Solve your Computer Problems---
> UNIX, C, Panther, Ingres, Interbase, Firebird - Available Shortly
>
> > -----Original Message-----
> > From: firebird-support@yahoogroups.com
> > [mailto:firebird-support@yahoogroups.com] On Behalf Of
> > Fabrice Aeschbacher
> > Sent: 04 July 2006 13:57
> > To: firebird-support@yahoogroups.com
> > Subject: [firebird-support] db file access right
> >
> >
> > 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
> >
> >
> >
> >
> >
> > ------------------------ Yahoo! Groups Sponsor
> > --------------------~-->
> > Something is new at Yahoo! Groups. Check out the enhanced
> > email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/67folB/TM
> > --------------------------------------------------------------
> > ------~->
> >
> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >
> > Visit http://www.firebirdsql.org and click the Resources item
> > on the main (top) menu. Try Knowledgebase and FAQ links !
> >
> > Also search the knowledgebases at http://www.ibphoenix.com
> >
> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> >
>