read-only file permissions on Ubuntu 18.04
I am trying to delete a folder contained on a mounted HDD.
When trying to put the folder into trash, I get the error "You do not have sufficient permissions to delete the folder [name] ... Error removing file [file]: Read-only file system".
When running `sudo rm -rf [folder]` in terminal, I get error "rm: cannot remove [file]: Read-only file system".
When I input `sudo mount -o remount,rw /dev/sdb1` the disk remounts, and then when again trying `sudo rm -rf [folder]` I get the error "rm: cannot remove [folder]: Directory not empty".
If I try to again put the folder directly into the trash, and empty the trash, it will empty. But then if I refresh the parent folder the deleted folder and all its contents remains!
I would also mention that my computer has two hard drives, a SSD and a mount-required HDD. When I reboot my computer, I have had to manually open the HDD to mount for a while (ie also in previous versions of Ubuntu). However, I have not, until now, had read-only access issues with the HDD.
Any guidance in resolving this matter would be immensely appreciated!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Brian McMahon
- Solved:
- Last query:
- Last reply: