Unsolved Annoying Apple Issue - SMB - Finder issue
-
Mounting shares using the SMB protocol causes Apple's Finder (when used to search) to open every file on the share.
This obviously causes issues (like others can't use the folders they are working in, can't delete or edit etc). As a work around, it appears I can use CIFS.
I'm still testing but has anyone else seen this behavior with Apple clients and Windows File Servers?
Do you have any recommendations?
-
This is known as the "Finder Bug" and has been around for a while. You can work around it by replacing the Finder with a third party tool. It's not related to SMB but impacts AFP, NFS and everything else.
-
If you use Samba as your SMB server, you just install the vfs_fruit module and it adds a "fix" to trick the Finder into thinking that it is getting what it wants. There is no simple way to fix the bug in the Finder, but you can placate the bug easily enough.
-
@dustinb3403 said in Annoying Apple Issue - SMB - Finder issue:
I'm still testing but has anyone else seen this behavior with Apple clients and Windows File Servers?
Everyone has this, it's just how it works. It's not because it is Windows.
-
Sadly this didn't appear to be an issue on our previous file server 2008 r2, but has surfaced on our new file server 2016.
So looking for any sort of resolution, be it make everyone start mounting via CIFS and or disabling the Icon Preview as reported in a few topics I've seen.
-
@dustinb3403 said in Annoying Apple Issue - SMB - Finder issue:
Sadly this didn't appear to be an issue on our previous file server 2008 r2, but has surfaced on our new file server 2016.
It was there, maybe your file structure was such that you didn't notice. The bug has been in Finder for at least eight years, I was dealing with it in 2012 and it was well known by that time. It is only noticeable when the systems are large enough in file names.
-
@dustinb3403 said in Annoying Apple Issue - SMB - Finder issue:
So looking for any sort of resolution, be it make everyone start mounting via CIFS and or disabling the Icon Preview as reported in a few topics I've seen.
It's a Finder Bug, there is no "fix" unless you provide the incorrect data Finder is waiting on or you don't use Finder.
-
@scottalanmiller said in Annoying Apple Issue - SMB - Finder issue:
@dustinb3403 said in Annoying Apple Issue - SMB - Finder issue:
So looking for any sort of resolution, be it make everyone start mounting via CIFS and or disabling the Icon Preview as reported in a few topics I've seen.
It's a Finder Bug, there is no "fix" unless you provide the incorrect data Finder is waiting on or you don't use Finder.
Mounting via CIFS in the few testers I've used so far today seems to address it.
I need further details. I can agree it is this "Finder bug" but replacing Finder and getting the entire organization to change to use something else simply isn't feasible.
-
@dustinb3403 said in Annoying Apple Issue - SMB - Finder issue:
@scottalanmiller said in Annoying Apple Issue - SMB - Finder issue:
@dustinb3403 said in Annoying Apple Issue - SMB - Finder issue:
So looking for any sort of resolution, be it make everyone start mounting via CIFS and or disabling the Icon Preview as reported in a few topics I've seen.
It's a Finder Bug, there is no "fix" unless you provide the incorrect data Finder is waiting on or you don't use Finder.
Mounting via CIFS in the few testers I've used so far today seems to address it.
So CIFS from the same WIndows 2016 boxes?
-
@scottalanmiller said in Annoying Apple Issue - SMB - Finder issue:
@dustinb3403 said in Annoying Apple Issue - SMB - Finder issue:
@scottalanmiller said in Annoying Apple Issue - SMB - Finder issue:
@dustinb3403 said in Annoying Apple Issue - SMB - Finder issue:
So looking for any sort of resolution, be it make everyone start mounting via CIFS and or disabling the Icon Preview as reported in a few topics I've seen.
It's a Finder Bug, there is no "fix" unless you provide the incorrect data Finder is waiting on or you don't use Finder.
Mounting via CIFS in the few testers I've used so far today seems to address it.
So CIFS from the same WIndows 2016 boxes?
On the Apple devices we normally would have the user connect to the windows server like smb://servername.domain.com and this caused a ton of files to get mounted as read only.
Changing it to cifs://servername.domain.com greatly reduces the number of files that get the "read only" state (like just what the user is using).
Which seems to at least address the locking of everyones files on the server. (still testing)
-
@dustinb3403 said in Annoying Apple Issue - SMB - Finder issue:
@scottalanmiller said in Annoying Apple Issue - SMB - Finder issue:
@dustinb3403 said in Annoying Apple Issue - SMB - Finder issue:
@scottalanmiller said in Annoying Apple Issue - SMB - Finder issue:
@dustinb3403 said in Annoying Apple Issue - SMB - Finder issue:
So looking for any sort of resolution, be it make everyone start mounting via CIFS and or disabling the Icon Preview as reported in a few topics I've seen.
It's a Finder Bug, there is no "fix" unless you provide the incorrect data Finder is waiting on or you don't use Finder.
Mounting via CIFS in the few testers I've used so far today seems to address it.
So CIFS from the same WIndows 2016 boxes?
On the Apple devices we normally would have the user connect to the windows server like smb://servername.domain.com and this caused a ton of files to get mounted as read only.
Changing it to cifs://servername.domain.com greatly reduces the number of files that get the "read only" state (like just what the user is using).
Which seems to at least address the locking of everyones files on the server. (still testing)
Interesting, so it is a different driver on the Apple side. CIFS is just a label for SMB at the protocol level. CIFS is just one specific old SMB version.
-
@scottalanmiller said in Annoying Apple Issue - SMB - Finder issue:
@dustinb3403 said in Annoying Apple Issue - SMB - Finder issue:
@scottalanmiller said in Annoying Apple Issue - SMB - Finder issue:
@dustinb3403 said in Annoying Apple Issue - SMB - Finder issue:
@scottalanmiller said in Annoying Apple Issue - SMB - Finder issue:
@dustinb3403 said in Annoying Apple Issue - SMB - Finder issue:
So looking for any sort of resolution, be it make everyone start mounting via CIFS and or disabling the Icon Preview as reported in a few topics I've seen.
It's a Finder Bug, there is no "fix" unless you provide the incorrect data Finder is waiting on or you don't use Finder.
Mounting via CIFS in the few testers I've used so far today seems to address it.
So CIFS from the same WIndows 2016 boxes?
On the Apple devices we normally would have the user connect to the windows server like smb://servername.domain.com and this caused a ton of files to get mounted as read only.
Changing it to cifs://servername.domain.com greatly reduces the number of files that get the "read only" state (like just what the user is using).
Which seems to at least address the locking of everyones files on the server. (still testing)
Interesting, so it is a different driver on the Apple side. CIFS is just a label for SMB at the protocol level. CIFS is just one specific old SMB version.
Yeah the number of files that get mounted (according to windows file manager - open sessions) is maybe 1/1000th the number of sessions. Where as doing a Finder query using SMB would literally lock every file it could while it searched.
To address the issue I had to go and kill those sessions via File Manager - open sessions, and then people could move or delete etc.
-
@dustinb3403 said in Annoying Apple Issue - SMB - Finder issue:
I'm still testing but has anyone else seen this behavior with Apple clients and Windows File Servers?
Yepp, we see it here too.
-
Yeah this definitely seems to fix the issue, the number of connections to my server has dropped by a lot with just a handful of people I've tested with.
-
Yeah, this has been an issue since Server 2012 R2 on SMB and Apple and reason why Microsoft Office on Macs marks the files as being opened even though they are not.
-
I'm curious now if this is something in High Sierra or just something that has occurred because of the server update.
Need to take a look at the people who I have testing this and see.
-
Nope not specifically something with the OS as far as I can see, have people on both High Sierra and Sierra. . .
I guess it's something inside of 2016 and the way it responds to Finder queries. . .
-
@dustinb3403 said in Annoying Apple Issue - SMB - Finder issue:
I'm curious now if this is something in High Sierra or just something that has occurred because of the server update.
Need to take a look at the people who I have testing this and see.
It's from almost a decade ago. It's ancient. Like I said, it was old and well known in 2012.
-
@dustinb3403 said in Annoying Apple Issue - SMB - Finder issue:
Nope not specifically something with the OS as far as I can see, have people on both High Sierra and Sierra. . .
I guess it's something inside of 2016 and the way it responds to Finder queries. . .
No, this is a very well known Mac bug. It is not a 2016 issue, we had it with Windows, Samba, and all third party SMB servers for a very long time until they wrote specific work arounds to the bug. It's not new. In 2012 we were able to show that it was a bug in Finder, you can demonstrate what it does if you spend enough time on it. You can recreate it with multiple protocols across different OSes and server platforms.
Changing from SMB to CIFS is not changing the protocol used, but change the driver used on the Mac side and is affecting, but I bet not removing, the underlying issue.
-
@scottalanmiller that might be, but the issue didn't occur (at least in my experience here) until a iscsi migration to from Server 2008 R2 Server 2016.
I'm not disagreeing that the issue could be one that apple has never fixed. I'm simply looking for a solution, which it appears rather than mounting as smb but as cifs addresses this.