Mac SMB connections to Windows 2003 server, leaving Open Files

Posted by Bruce Garlock on Server Fault See other posts from Server Fault or by Bruce Garlock
Published on 2010-04-15T21:00:50Z Indexed on 2010/04/15 21:04 UTC
Read the original article Hit count: 309

Filed under:
|
|

We have several Mac clients (Both 10.5, and 10.6) mounting a share from a Windows 2003 server. At least once a day, our archivist will go into this share to archive items from it, to the backup server. Most of the time, she has no issues: she copies the folder to the archive server, when it's done, she deletes it from this share.

Then, she will come upon one, and it will say she doesn't have permission. When I go into the Open sessions, it will say that a particular user has a READ lock on the file, in Windows 2003. Of course, this person does not have the file open, and the only way we can delete it, is to close the open session on the file.

My thoughts:

  • The Mac likes to "sprinkle" Hidden "Resource Forks" on SMB servers, and possibly, when this Mac who last wrote to that share, closes out of the file, and these files still exist.

  • Windows 2003 has a bug, that doesn't properly "release" the OPLOCK on the file?

  • Steve Ballmer just doesn't like Mac's, so he wants to annoy everyone by not releasing file locks :-)

What can be done about this? It happens every day, and sometimes several times per day!

Many thanks,

Bruce

© Server Fault or respective owner

Related posts about macosx

Related posts about osx