LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Disabling USB automount (KDE) (https://www.linuxquestions.org/questions/linux-newbie-8/disabling-usb-automount-kde-891757/)

ADX 07-14-2011 01:12 PM

Disabling USB automount (KDE)
 
When I plug in a removable device, KDE automounts it, but I prefer to do this manually (also perhaps not liking the idea that any user could plug a device in and have it mounted). I've searched around and looked at KDE -> System Settings -> Removable Devices, and "Enable automatic mounting of removable devices" is already unchecked.

Any tips would be appreciated. Thanks

bigrigdriver 07-14-2011 02:19 PM

Look through the udev rules in /etc/udev. Find the rule that automounts usb devices and comment out the rule. I recommend comment out rather that edit out, just in case something comes up later and you want to use that rule again.

Robert.Thompson 07-14-2011 05:07 PM

Quote:

Originally Posted by ADX (Post 4414971)
When I plug in a removable device, KDE automounts it, but I prefer to do this manually (also perhaps not liking the idea that any user could plug a device in and have it mounted). I've searched around and looked at KDE -> System Settings -> Removable Devices, and "Enable automatic mounting of removable devices" is already unchecked.

Any tips would be appreciated. Thanks

I had the reverse problem and the solution was to *include* the 'plugdev' group in my user profile.

Maybe *excluding* the 'plugdev' from your user profile will do it.

ADX 07-15-2011 12:43 PM

Quote:

Originally Posted by Robert.Thompson (Post 4415130)
I had the reverse problem and the solution was to *include* the 'plugdev' group in my user profile.

Maybe *excluding* the 'plugdev' from your user profile will do it.

That did it. I didn't realize at the time that only users in the "plugdev" group were allowed to use removable devices. As far as the notifications, it was just a matter of tweaking KDE's widgets.

Thanks!


All times are GMT -5. The time now is 11:15 AM.