[Harbour-users] Set Exclusive on CIFS mounted files

Agustianes Umbara Suwardi anezch at gmail.com
Wed Mar 3 05:03:30 EST 2010


Hi all,

Has anyone tried to exclusive-use on CIFS mounted files with Harbour? I 
have a CIFS mount point:
mount -t cifs -o 
rw,sync,user=ptiuser,password=secret,uid=1000,gid=1000,noperms,directio 
//192.168.20.1/ptiuser/dbf /mnt/dbf

As a test, I run on computer A a foxpro (under dosemu) script that use a 
dbf as exclusive. Then on my computer I write a harbour app that use the 
same file exclusively. The result is both computer can use the file in 
the same time!

The second test, on my computer I use the file exclusively under foxpro 
(on dosemu). And the set exclusive command takes effect, the file is 
used exclusively.

Is it a bug on harbour, or I'm passing the wrong mount parameters?

Regards,
Agustianes U. S.


More information about the Harbour-users mailing list