My desktop switched to RHEL 7.2 last year and I use it for charging my iPhones. I can disable USB automount at all, but I want to disable iPhone for not asking any “trust” questions on both sides.
Use following for adding a new udev rule:
Update: The charging will not work when my iPhone SE and iPhone 6s are not authorized. There is another approach:
linkirin@m91p: ~$ sudo mv /lib/udev/rules.d/85-usbmuxd.rules /lib/udev/rules.d/85-usbmuxd.rules.orig
Update: This should be ok with Ubuntu 14.04 desktop.