remove write proteced in usb ubuntu
Unmount it, and make it writeable
sudo umount /dev/sdb1
sudo hdparm -r0 /dev/sdb
Create a new mount point and mount it there (my userID from /etc/passwd is 1000)
sudo mkdir /media/andrew/temp
sudo mount -o uid=1000 /dev/sdb1 /media/andrew/temp
it'll still complain that it's read-only. I don't know why I had to change this flag before AND after mounting, but that's the only way it worked for me. Set it to writeable again, and remount it at the same place
sudo hdparm -r0 /dev/sdb1
sudo mount -o remount,rw /dev/sdb1
Now I can write to the disk as my normal user. I'm being very careful with it in case it is actually failing, but those commands allowed me to finish what I was doing.
Also in C++:
- cool welcome message linux
- how to install whatsapp on manjaro linux
- git revert commit for single file
- Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
- linux get docker compose logs
- copy directory command in linux
- install package chart.js
- install docker in ubuntu
- how to install flow on gatsbyjs
- running file pug
- Créer un installateur Windows
- enable virtualization mac pro
- how to silence operation not permitted
- git clone specific branch only
- batch rename files in subfolders
- jboss keycloak admin console https
- sed print from match to end of file
- how to activate conda environment on linux terminal
- git ls-files --others -i --exclude-standard
- gradle init java application
- not a git repository after clone
- install sass
- amazon linux 2 install stress
- run exe in proton prefix