Jason Haar
2009-Oct-21 21:33 UTC
[Samba] mount.cifs not reporting locking issues to Linux?
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 Thanks -- Cheers Jason Haar Information Security Manager, Trimble Navigation Ltd. Phone: +64 3 9635 377 Fax: +64 3 9635 417 PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1
Jeremy Allison
2009-Oct-21 23:07 UTC
[Samba] mount.cifs not reporting locking issues to Linux?
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-1Is this smbfs you're using, or cifsfs ? Jeremy.
Seemingly Similar Threads
- Cannot connect to Samba-3.0.23d (and earlier) from other trusted AD domains
- Vista SP1-rc1 appears to break against Samba-3.0.27a
- way to get smbclient to do "dir *\filename"?
- Can Asterisk "proxy" a SIP phone to make it look like a Cisco skinny softphone?
- Win2K3 DNS losing Samba DNS entries?