gniemetz/automount

macOS Sierra no longer has /Volumes as world writable

jason1365 opened this issue · 9 comments

The script expects write access at the user level to /Volumes/. This is no longer the case for macOS Sierra.

https://derflounder.wordpress.com/2016/09/21/macos-sierras-volumes-folder-is-no-longer-world-writable/

oh my, this is a tricky one :(

tried to resolve in dev branch

Could we lose our data if this is set to run?
/etc/periodic/daily/110.clean-tmps

Good question, maybe it is safer to use the $HOME as the base for the mountpoints?

In Version 0.90.4 in dev-Branch: The shares are mounted in ${LOGINHOME}/Volumes if on OS version >= 10.12.0 and not root-User, else in /Volumes

Updated master with v0.90.5

Is there a fix which will allow it to actually mount the volumes in /Volumes on Sierra? This is the reason I have tried installing it, and it's not particularly clear from the README as to whether this is supported or not…

OK, thanks — a shame Apple didn't think of this use case, but not a lot you can do…