I've tried umask, but it does not work for SQLite.

I search this emaillist, and find the following message in 2003 which is
related to this topic. I want to check if it is still true in the current
version. Thanks.

Jay

From: Dong Xuezhang-A19583
<[EMAIL 
PROTECTED]<http://gmane.org/get-address.php?address=xdong%2d3WKxDLwmzFNWk0Htik3J%2fw%40public.gmane.org>

Subject: SQLITE 
MODE<http://news.gmane.org/find-root.php?message_id=%3c5725AF6EE9FAD51195DC009027E377020B9B6901%40az33exm35.corp.mot.com%3e>
Newsgroups: 
gmane.comp.db.sqlite.general<http://news.gmane.org/gmane.comp.db.sqlite.general>
Date: 2003-09-30 18:30:11 GMT (3 years, 20 weeks, 4 days, 14 hours and 24
minutes ago)

Hi,

Just want to buy some idea from you guys about the *permission* of
sqlite db *file*. It is hardcode to 644 right
now(user RW, group and other person R). In certain case, like group
developing or ..., you may want 664 or
even 666. There are two way to do this, one is make it become a
compilation option, another one is the pass in a
parameter from sqlite_open method. I notice that there is a parameter
(int mode) in sqlite_open never
been used, is it a good idea to use it for this purpose?

Thanks.


Xuezhang.



On 2/21/07, Joe Wilson <[EMAIL PROTECTED]> wrote:

--- "Shan, Zhe (Jay)" <[EMAIL PROTECTED]> wrote:
> If to use SQLite to create a database in Linux, the database file will
> be granted permission 644 as default.
> Is this value hardcoded in the current version? Is it possible to
> change this default vaule, say to 664 or something else?

man umask





____________________________________________________________________________________
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com


-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]

-----------------------------------------------------------------------------


Reply via email to