I just got a new NAS (Synology DS923+), and my Mac was able to see it and write data to it right away. The Mac is running Ventura 13.0.
I do most of my work from the command line in a Terminal window. I have two problems when copying files to the NAS:
- file modification times are not preserved
- file permissions all show as rwxrwxrwx (mode 666).
These problems show up both when copying files using cp -p
, and extracting tarballs with tar x
. (Oddly, some ways of propagating modtimes to files on the NAS, such as touch -r
, do work.)
I believe problem #1 is probably related to https://discussions.apple.com/thread/6681949, although if (as suggested in that thread) it has something to do with a bug in MacOS, I'm surprised it still hasn't been fixed.
I believe problem #2 is a limitation of SMB.
So my main question is, is there a better way of mounting a fileshare from MacOS than SMB? I believe I've got all protocols enabled on the NAS, although it has a note saying that MacOS does not support AFP after Mojave.
I'm not even sure I'm using SMB. Finder lists the shared folder as type "Sharepoint". And the actual low-level mount (as reported by df
) is //user@host._afpovertcp._tcp.local/folder
, which kind of suggests AFP might be involved after all. [Addendum: It turns out I was using AFP. See the answer I just posted.]
If there's a better or at least a different way, how do I request it? For example, I'm pretty sure MacOS can do NFS, and obviously the NAS can, too. (I know NFS has some disadvantages, but if it'd get me modes and mtimes, I'd probably be willing to put up with lesser inconveniences.)