N
N
Nikolai Savelyev2017-06-01 11:24:15
iOS
Nikolai Savelyev, 2017-06-01 11:24:15

How to prevent iphone drives from being mounted in ubuntu?

A long time ago, back in the days of ubuntu 12.04, the management set the task of prohibiting the connection of external disk devices to employee workstations. In version 12, everything was mounted in the / media directory, so the task was solved elementarily - by setting the necessary rights to it.
However, after upgrading to ubuntu 14.04, I found that now the iphone connected to the computer is not mounted where it should be, but simply opens using the afc://iphoneID protocol.
The mount command does not show anything that could relate to an apple device.
So how to prevent iphone from mounting in ubuntu 14.04?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry, 2017-06-01
@nikweter

Write a udev rule. And disable Apple vids.
https://unix.stackexchange.com/questions/63199/how...

V
Viktor Belsky, 2017-06-01
@Belyj

gvfs-mount -l will show
AND mounted at /run/user/$uid/gvfs

P
pfg21, 2017-06-01
@pfg21

find the application responsible for the afc:// protocol and shoot/ban it??

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question