Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Good day!

I was looking for a way to quickly mount a USB Drive as READ ONLY. I see lots of issues of people having it mount read only when they do want to but in my case I need to ensure the USB device mounts in a READ ONLY state. Is there a way to set hot keys during USB plug in (CTRL-R for example) to force autmount into READ ONLY?

Currently I use:

gsettings set org.gnome.desktop.media-handling automount false

to disable automounting and then I run the mount command with read only options.

Im just looking for a faster way!

Thanks!

GR

share|improve this question
This question appears to be abandoned and unanswered. If this question no longer applies then you can either delete it or answer it yourself if you've solved the problem. Thanks! – Eric Carvalho Mar 19 at 1:37

closed as too localized by Mitch, Uri Herrera, bcbc, Basharat Sial, Jorge Castro Apr 22 at 0:26

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.