From owner-freebsd-questions@FreeBSD.ORG Mon Oct 20 10:50:06 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 896EF16A4B3 for ; Mon, 20 Oct 2003 10:50:06 -0700 (PDT) Received: from out012.verizon.net (out012pub.verizon.net [206.46.170.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C6EF43FB1 for ; Mon, 20 Oct 2003 10:50:05 -0700 (PDT) (envelope-from dgl@kirk.dlee.org) Received: from kirk.dlee.org ([138.88.217.247]) by out012.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20031020175004.ZRSS20366.out012.verizon.net@kirk.dlee.org> for ; Mon, 20 Oct 2003 12:50:04 -0500 Received: from kirk.dlee.org (dgl@localhost.dlee.org [127.0.0.1]) by kirk.dlee.org (8.12.9p2/8.12.9) with ESMTP id h9KHnrwW021759 for ; Mon, 20 Oct 2003 13:50:03 -0400 (EDT) (envelope-from dgl@kirk.dlee.org) Received: (from dgl@localhost) by kirk.dlee.org (8.12.9p2/8.12.9/Submit) id h9KHnq7M021758 for freebsd-questions@freebsd.org; Mon, 20 Oct 2003 13:49:52 -0400 (EDT) (envelope-from dgl) Date: Mon, 20 Oct 2003 13:49:51 -0400 From: Doug Lee To: freebsd-questions@freebsd.org Message-ID: <20031020174951.GK93145@kirk.dlee.org> Mail-Followup-To: Doug Lee , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: Bartimaeus Group User-Agent: Mutt/1.5.4i X-Authentication-Info: Submitted using SMTP AUTH at out012.verizon.net from [138.88.217.247] at Mon, 20 Oct 2003 12:50:04 -0500 Subject: Can I get SMBFS to cooperate with NT apps as well as Sharity Light? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 17:50:06 -0000 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@dlee.org http://www.dlee.org Bartimaeus Group doug@bartsite.com http://www.bartsite.com "Sometimes I think my learning curve is a circle." -- David Andrews