Can I get SMBFS to cooperate with NT apps as well as Sharity Light?

Doug Lee dgl at dlee.org
Mon Oct 20 10:50:06 PDT 2003


I am trying to open a series of database files from FreeBSD that are
hosted by a Windows NT share.  I only need read-only access at this
point.

For some reason though, if a file is opened by a Windows program,
FreeBSD can't get read access to it if I use smbfs, but other Windows
machines can and so can FreeBSD if I mount the share with Sharity
instead of smbfs.  I tried to find information in the mount_smbfs man
page and in the smbfs source code on how to make smbfs grant me read
access to an already-opened file, but I didn't find anything.

Is there a way to get smbfs to grant the same access to files that
Windows is using?

This is FreeBSD 4.8-RC, in case it matters for this.

Thanks much.


-- 
Doug Lee           dgl at dlee.org        http://www.dlee.org
Bartimaeus Group   doug at bartsite.com   http://www.bartsite.com
"Sometimes I think my learning curve is a circle." -- David Andrews


More information about the freebsd-questions mailing list