automount SMB in Tahoe 26 no longer working

MacBook Pro M1, MacBook mini M1 Tahoe 26.


I have mapped 6 shares from my NAS (Public, Photo, backups etc). This has been working for almost 10 years in all MacOs versions. Just open finder, and the shares appeared by auto-mounting.


In Tahoe, it no longer works, I need to manually remount on each restart. ( by open the network devices, drag each share to the finder favorites bar).

Adding the shares to the Settings, General, Loginitems does work, but this opens 6 folders on startup that I have to close, as I do not need all shares on the desktop.

What has happened? Has Apple forgotten that (business) users have auto mounts on network servers?


How to get this annoyance fixed?


MacBook Pro 13″

Posted on Sep 19, 2025 1:02 AM

Reply
Question marked as Top-ranking reply

Posted on Oct 30, 2025 3:25 AM

I have automounts via SMB (as this is the fastest option) working very well from a Synology NAS.


Here's the main point: Change in the file /etc/autofs.conf the

AUTOMOUNT_TIMEOUT=3600000

This is 1000 hours. Reboot to take effect.


The rest of the config is similar to what other people have posted. In my case like this:


auto_master: add to the end

/Volumes/Media     auto_exec


then you create an root owned, wheel executable script

ls -al /etc/auto_exec

-rwxr-xr-x 1 root wheel 2005 27 Okt. 13:04 auto_exec


with this content:


#!/bin/bash
# By www.stefan-ried.de 11/2016 .. 10/2025
# Open Source
#
# Name or IP of your NAS


server="Media"  # replace with the local name of your NAS server


# List of share you want to mount


shares="GemeinsameDateien photo homes Stef web"    # add the Name of shared folder you like to automount


# NAS use name
user="<your NAS user>"
# NAS PW
userpw="<your NAS password>"
# local logfile
logfile="/dev/null"   # replace /dev/null with a log file of your choice
#
# automountd calls this without an argument to show the folders
# or with a specific folder name as argument to retrieve the mount parameter for it
#
# Make sure this file is in /etc and executable (chmod +a), call it auto_exec
# Add to /etc/auto_master for example this line, you might need to do this after a MacOS upgrade again
# /Volumes/Media        auto_exec
#
# automount will then execute this file when the folder is accessed
# Reload the changes to your auto_master and auto_exec with automount -vc
# use tail -f <you log file> to see whats going on, when you ls into /Volume/..
#
# If you like to have the automounts permanently Change in the file /etc/autofs.conf the
# AUTOMOUNT_TIMEOUT=3600000
#

# In the right network?
# replace the 10.0.0.0 with your networkspace where your NAS is.
#
if ifconfig | grep "10.0.0." > /dev/null; then
    echo "In home network" >> $logfile
else
    echo "Outside home network - not mounting anything" >> $logfile
    exit
fi
#
# Server reachable?
#
if ping -c 1 -Q -W 100 $server &> /dev/null; then
  echo "Server Online"  >> $logfile
else
  echo "Server Offline"   >> $logfile
  exit
fi
if [ $# = 0 ]; then # List keys
        echo `date` "Showing Folders/Keys" $1   >> $logfile
        for mountpoint in $shares; do
                echo -e "$mountpoint"   >> $logfile
                echo -e "$mountpoint"
        done
else
        echo `date` "Requesting Mountpoint" $1  >> $logfile
        for mountpoint in $shares; do
                if [ $1 = $mountpoint ]; then
                        echo -e "smb://$user:$userpw@Media/$mountpoint"
                        echo -e "smb://$user:$userpw@Media/$mountpoint"  >> $logfile
# uncomment this, if you want AFP, but SMB is the fastest with Synology
#                       echo -e "afp://$user:$userpw@Media/$mountpoint"
# uncomment this, if you want NFS 
#                       echo -e "-fstype=nfs,resvport,vers=4.1 $server:/volume4/$mountpoint"
                fi
        done
fi




The approach ignores the automatically scanned server mounts under /Network in the finder and creates an new one under /Volumens/<servername>, just drop this as a favorite into finder. Open tabs remain (SMB) mounted for ever.


In detail, the script provides to the automounter the folder and corresponding mount commands dynamically.

If you call it form the terminal, you see folders. If you add one folder name as arguments, you see individual mount points. This is how unix automounter works since 25+ years :)

When this works, you can reload the automounter with the command: automount -vc


One little add-on: My Macbook should only tell anything to the automounter if it is in the home network (10.0.0.x in my case) and can ping the NAS. This trick avoids any hanging of the finder if you are in public networks on the road.

The script is on my Mac for nearly 10 years and still works on Tahoe.

The AUTOMOUNT_TIMEOUT=3600000 works best with SMB.


No paid tool is needed.

Have fun.

36 replies

Dec 12, 2025 5:00 PM in response to EAZ1964

Right, but it relies on you having to click on a link if I understand it correctly? In my case, I find unmounting is much faster since auto mount will remount it immediately. Ideally, I would want my share to be just there. The issue, at least in my case, is that it seems that there is a point where MacOS loses the connection to the share and resets its permissions to be only available to root, basically the default for automount before you cd into it, but in this case, it is stuck in that case and you get a permission denied, even though the share is fine. It's like automount is stuck thinking that the is unavailable until you unmount it and it brings it back to life.

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.

automount SMB in Tahoe 26 no longer working

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