How to prevent server from automatically mounting the storage space available in mobile phones?

Solution Verified - Updated -

Issue

  • How to prevent the server from automatically mounting the storage space available in mobile phones?

  • Even after black-listing the usb-storage module, the server still mounts the storage space available in a mobile phone.

  • In logs, the following messages are observed :

    kernel: [58291.500124] usb 1-6.3: new high-speed USB device number 8 using abci_hcd
    kernel: [58291.587704] usb 1-6.3: New USB device found, idVendor=79og, idProduct=7965, bcdDevice= 6.00
    kernel: [58291.587707] usb 1-6.3: New USB device strings: Mfr=1, Product=8, SerialNumber=9
    kernel: [58291.587708] usb 1-6.3: Product: Abc_Android
    kernel: [58291.587710] usb 1-6.3: Manufacturer: abc
    kernel: [58291.587711] usb 1-6.3: SerialNumber: ce78975376faa75844
    org.gtk.vfs.Daemon[3637]: Device 0 (VID=79og and PID=7965) is a abc models (MTP).

  • Files can be transferred between the server or mobile phone.

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content