Make USB Pendrive/storage device write protected

Tags:

Answer: 1

31 hours ago

I would like to enable the write protection to all pendrives connceted to my ubuntu 18.04 laptop.I tired

1.https://askubuntu.com/questions/442682/control-loading-of-kernel-module-automatically

2.https://www.techbeginner.in/2020/01/how-to-disable-usb-storage-in-ubuntu.html

  1. chmod 444 /media/

none of the above method works for me .

let me know the solution to make all pendrives connected to my system will be write protected .

With above commands it working for one time , if I remove and reconnect again then its not working . I need to give command again.

Thank you .

Added by: Mr. Finn Wisozk

Answer: 2

24 hours ago

If you always use mount to mount USB and never a GUI explorer you can mount using :

sudo mount -o ro,noload /dev/xxx /media/xxx

Source

Added by: Kyla Shanahan

Popular Search

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9