This POST is to keep your Production machine safe from connecting any external device to your production machine.
now run the next command to erase that RPM
#rpm -e gvfs-gphoto2
Thats it...
Now when you connect your android phone OR iPhone to the PC that runs CentOS and you select camera (PTP) storage option it won't mount on your CentOS machine, because we have erased the "gvfs-gphoto2" rpm.
To mount the camera (PTP) storage on linux system CentOS uses "gphoto2" RPM - run following command for querying the gphoto2 rpm
#rpm -q gvfs-gphoto2
now run the next command to erase that RPM
#rpm -e gvfs-gphoto2
Thats it...
Now when you connect your android phone OR iPhone to the PC that runs CentOS and you select camera (PTP) storage option it won't mount on your CentOS machine, because we have erased the "gvfs-gphoto2" rpm.