SMB file server with symbolic links (Mojave)

To enable symbolic links on the SMB server (Mac OS Mojave):


In file:


/System/Library/LaunchDaemons/com.apple.smbd.plist


add the "-no-symlinks" parameter:


<array>

<string>/usr/sbin/smbd</string>

<string>-no-symlinks</string>

</array>


However is not easy to modify the file since, even as root user, the file is protected. I had to restart with another volume, mont the volume system and disable privileges on the volume (from Finder Info dialog).


Of course, I suppose that this patch must be replied after every system update (since the System folder is supposed to be updated).


It is really annoying this feature is disabled. In these conditions the SMB file server is almost unusable.

At least, this option should be accessible with some preference. If not in the Preference Panel, at least via Terminal.


Frankly speaking, security cannot mean that nothing is enabled anymore.

Mac mini 2018 or later

Posted on Sep 11, 2019 2:18 PM

Reply

Similar questions

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

SMB file server with symbolic links (Mojave)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.