Re: [sqlite] Read/Write permission

2004-06-09 Thread shamil_daghestani
] can.net cc: Subject: Re: [sqlite] Read/Write permission 06/09/2004 03:41

Re: [sqlite] Read/Write permission

2004-06-09 Thread Randy J. Ray
[EMAIL PROTECTED] wrote: Anyway, I looked through sqlite.org but couldn't find how to properly open an sqlite database in read-only mode. If any knows how to do so (preferably in TCL binding), please let me know. According to the docs on the C/C++ bindings, the mode argument to open() does this,

Re: [sqlite] Read/Write permission

2004-06-09 Thread Kurt Welgehausen
Try setting permissions to read-only for the file, not for the whole directory. **kaw~/sqlite$ v sp -r--r--r--1 kaw users8192 Jan 1 12:41 sp **kaw~/sqlite$ tclsh % load tclsqlite.so % sqlite db sp 0x806fb50 % db eval {select * from S} S1 Smith 20 London S2 Jones 10 Paris S3