Fellow Power users!
I have a strange problem that I cannot solve on my own.
A client of mine have one iMac with Catalina and one MacBook Pro with Monterey. He have two hard drives attached to the iMac that he wants to access from the MBP. No problems I say, just start the file sharing! Easy.
It turns out though that it actually IS a big problem. No matter how I try I can’t get file sharing to work on the effing machine!
I have pinpointed the problem down to the iMac, because I can file share between my own MBP and his MBP, and I can also file share from the MBP to the iMac. But not from the iMac.
What happens:
For a starter, I can’t turn file sharing on or off in System Preferences. I have to use the Terminal.
I can see the iMac in the network, and I can connect and enter the correct user credentials. But when I look for files, all folders and/or drives are empty. Doubleclicking on those empty folders gives an error message in Finder like “Can’t open Macintosh HD. An unknown error has occured.”
I have SMB turned on on all machines. I have also tried AFP, with the same result.
Two preference checkboxes in System Preferences > Sharing are light grey and unmodifiable. Those are File Sharing and Remote Login. If I check File Sharing nothing happens, if I check Remote Login it says it’s starting to turn it off, but it never turns off.
As mentioned, I am able to turn on or off File Sharing in Terminal with sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.smbd.plist and that also updates the checkmark in the Sharing pane. Doesn’t help with the file sharing though.
What I have done:
Restarting all involved machines.
Reset PRAM.
Emptying Cache with the help of Shift during startup.
Created a new user.
Deleted all files in /Library/Preferences/SystemConfiguration/
I have reinstalled Catalina, but kept all old settings.
What I suspect:
Since there is no possibility to manage File Sharing with System Preferences I suspect that there must be a damaged preference file somewhere. I don’t know where though.
There must be some kind of “Network factory reset”, but the only thing I can find about this is the deletion of files in the SystemConfiguration folder mentioned above.
What I haven’t done:
I haven’t installed a clean, new system. If I can’t solve this any other way, this is the final solution. I prefer to not have to do that though, since it includes a lot of extra work (install new apps, Mail accounts etc etc).
BTW; Catalina is the newest macOS this iMac (27" late 2013) can have.
Any ideas?