At 3:35 PM -0400 6/9/04, [EMAIL PROTECTED] wrote:
I'm working on a TCL binding of SQLite database, which is sitting somewhere
in a shared folder at my company.  Few would write to it, but many others
will read from it.  Therefore, in order to protect that database (and other
files in the same location) from accidents, the few that will write to it
have "read/write" permission to that folder, and all others have just
"read" permission.  I quickly discovered that those with only "read"
permission to that folder cannot access the SQLite database to be able to
read from it!  Is this the expect behavior?

SQLite is probably trying to open the database in read/write mode by default, which wouldn't work if the folder is read-only. I think you need to change your call to 'open' so that it explicitely says to do it read-only. -- Darren Duncan


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to