When I connect to another Mac via Finder (using SMB), creating a hard link with FileManager.linkItem(atPath:toPath:)
fails (both source and destination are on the remote Mac). I read online that SMB itself supports creating hard links, so is this a macOS limitation or bug?
Creating hard links on SMB volume
This is a known limitation of the macOS smb client (r.67464389), however, it may work on iOS (which has a somewhat different SMB implementation) assuming the server declares support for hard links.
__
Kevin Elliott
DTS Engineer, CoreOS/Hardware
This is a known limitation of the macOS smb client
Thanks for confirming. Hopefully one day it will be implemented. I created FB18783115.