On Wed 2008-05-28 15:08:36 -0400, Florian Weimer wrote:

> * Daniel Kahn Gillmor:
>
>> This bug is also reported to ubuntu, fwiw:
>>
>>   https://bugs.launchpad.net/ubuntu/+source/samba/+bug/117730
>
> This looks like cifs not providing POSIX file system semantics.  I
> dont know if this ia bug, or an inherent protocol limitation.

I agree that this is one possible interpretation of the problem, but
SQLite does *not* exhibit the same problem when it is run on Windows
clients using data directories that are "network mapped" via CIFS from
the same samba server.  Instead, it is able to read and write the
testdb without a problem.

So either the sqlite build for Windows doesn't internally depend on
those filesystem semantics, or there's a way to work around them on
Windows.  Maybe it's possible for SQLite in debian (and other unices)
to use the same workaround if it detects that it's working on CIFS?
Or maybe this is a bug in cifs.mount?  Or maybe a bug in the kernel's
cifs.ko?  Or in samba itself somehow?  I'd be happy to get pointed in
the right direction about where to get started fixing this.  (i'd be
even happier to be able to ditch CIFS, but that's not politically
feasible)

This bug is pretty serious because it's likely to strand users with
CIFS-exported home directories once Firefox 3 replaces Firefox 2.
It's already causing breakages in CIFS-homedir environments under
Ubuntu 8.04, and in debian with other apps that use SQLite
(e.g. f-spot, django, etc).

Thanks for the feedback and for any other direction or advice you can
give.

Regards,

       --dkg

Attachment: pgpRJe1xIRSXz.pgp
Description: PGP signature

Reply via email to