Programmatically creating mount points in macOS 10.12 Apple have confirmed to me (https://openradar.appspot.com/radar?id=4948585099558912) that with macOS 10.12, permissions to create a folder inside /Volumes require root access.

Using the mount command requires that the mount point exists first, so you're going to have to sudo to create that folder for the mount point.

I develop an app which presents a list of network shares to a the user, and allows them to selectively mount them. I handle this by firing off a command process in the background which uses mkdir and mount to mount the network drive.
Of course this now fails, as it doesn't have permission to create the mount point.

One option I am looking into is modifying sudoers to give all users permission to use mkdir.

Can anyone else think of a way to programmatically mount a network drive via Terminal without password prompts, or messing with sudo?
As I answered at macOS Sierra: AppleScript mount volume keeps asking for login, I think the way to do it now is to create the mount point somewhere the user does have write access to, such as the user's home directory:

mkdir -p ~/mnt
mount_smbfs "//my_username:my_password@my_hostname/share" ~/mnt