[Samba] mount.cifs not reporting locking issues to Linux?

Jeremy Allison jra at samba.org
Wed Oct 21 17:14:36 MDT 2009


On Thu, Oct 22, 2009 at 12:11:39PM +1300, Jason Haar wrote:
> On 10/22/2009 12:07 PM, Jeremy Allison wrote:
> > On Thu, Oct 22, 2009 at 10:33:28AM +1300, Jason Haar wrote:
> >   
> >> Hi there
> >>
> >> I recall in times past that when a locked file on a Windows server was
> >> accessed by smbfs, you received a kind of "text file busy" type error
> >> under Linux. However, on our CentOS4 servers running mount.cifs,
> >> accessing a locked file now only reports a "Permission denied"
> >>
> >> Wireshark shows the server sending "STATUS_FILE_LOCK_CONFLICT" errors to
> >> Linux, but it appears that isn't exposed to the OS?
> >>
> >> Is this a bug - or a lack of a feature? This is samba-3.2.11-1
> >>     
> > Is this smbfs you're using, or cifsfs ?
> >
> > Jeremy.
> >   
> cifsfs - I don't think smbfs exists any more?

Bug Stevef directly (or Jeff Layton). Looks like
the error code mapping has changed.

Jeremy.


More information about the samba mailing list