0

I tried all possibilities of blocking USB storage and it also worked for pen drives, external HDD but not the storage of mobile. Can I block all of the mobile storage access?

OS is Linux mint.

1

At last I found the solution for it for disabling access of any MTP connection and any i phone storage access. u just need to disable the or remove the permission by root access. in a clear word u have to remove the program which helps to mounts the access of phones. you have to just do is open file system in linux mint and then open usr folder as root and then open lib folder in it and then find gvfs folder and search for and just click right click on gvfsd-mtp and select permission and remove the tick mark to allow the program to run. And then for i phone you can remove the same permission by selecting gvfsd-afc and then try connecting any android devices or iphone and you are done the phones would just charge instead of mounting the storage.

  • it surely works try it – hemanth Aug 7 '17 at 8:40
-2

You can remove the access by using this command as superuser in terminal.

apt-get remove usbmuxd

but this should be done at your own risk because it removes other supporting files including GUI supporting files.

protected by Community Aug 7 '17 at 11:51

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.