Apple feedback FB25355124
The SMB client no longer accepts reads to symlinks that are an absolute path to a network volume or a symlink that contains a (..) in the relative path.
Reproduction steps on an SMB mount with this file structure:
- dir
- a.txt
-
Run this command from inside of "dir":
ln -s my-link ../dir/a.txt
-
Attempt to read that symlink:
cat ./my-link
Which results in this error:
cat: link: Invalid argumentwhich is translating to an EINVAL getting returned from the SMB client.
-
Same behavior was observed when making a symlink with an absolute path:
ln -s my-link /Volumes/Example/dir/a.txt
The server is responding successfully to the IOCTL command but the client is still rejecting the request with that error.
This behavior was not observed in macOS 26.6.2 (smbfs 6.0.1) as well as previous versions of macOS.
I have also submitted a bug report: FB25465081.
Thanks folks.
Just so we’re on the same page:
- Apple Developer Forums is primary focusing on helping folks with Apple APIs and developer tools. This issue is not that, as witnessed by the fact that mfh’s steps to reproduce only involved command-line tools.
- We generally redirect such questions to Apple Support Community, run by Apple Support.
- But for straight up bug reports like this, the best path forward is Feedback Assistant.
- I don’t have any concrete info to share as to when this will be fixed but, as always, I encourage you to re-test with new beta releases as we seed them.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"