How do I make a usb read only mode?
by linux-man from LinuxQuestions.org on (#6E0N0)
How do I make a usb read only mode without deleting any of my files in that usb? I think first I need to find out if the usb is USB drive (ext4, FAT32 or NTFS ). Which commands would tell me that?
FAT32 and NTFS file systems get their permissions in linux when mounted, and they cannot be changed for individual directories and files.
In my case since the usb is seen as dev/sda1
I'm not sure what to do after that because most articles focus on how to reverse a read only usb.
FAT32 and NTFS file systems get their permissions in linux when mounted, and they cannot be changed for individual directories and files.
In my case since the usb is seen as dev/sda1
I'm not sure what to do after that because most articles focus on how to reverse a read only usb.