

They're also portable, and one of the best ways to move huge archives of media, data, and other files, without having to wait hours for terabytes of data to slowly upload.

A great external drive is an incredibly convenient way to add a huge amount of storage to an existing machine without having to pry open your case and tinker around in the internals.
#EXTERNAL HARD DRIVE READ ONLY PC WINDOWS#
TL DR: If your USB drive suddenly becomes READONLY to Ubuntu after being connected to a Windows system, try reconnecting and doing a controlled "Eject device" on the Windows system.If you've never invested in one of the best external hard drives, they offer a range of advantages compared to their internal counterparts. So I'm posting it here in hopes it might help other people if they get into the same position. In retrospect the cause (and hence the solution) now seems obvious, but it had me tearing my hair out for several minutes. But I've just reconnected the drive to the Windows machine, immediately ejected it, and reconnected to the Ubuntu machine - and everything's back to normal! So far as I recall, I never actually wrote anything to the drive from Windows, so I never bothered going through the "Eject" process. Neither the answers here nor those given to the SO superuser question Why is my USB Flash Drive Now Read-Only? solved my problem.įor no obvious reason, I couldn't write to my 1Tb Toshiba USB hard drive using my Ubuntu 20.04 system (which I've been doing every day for months without a problem).Įarlier in the day I'd connected the USB drive to a different machine, running Windows 10. Now, when you plug your external hard disk in, it will always have those options. Hit Ctrl+ X, then Y, then Enter to save and close. Move the blinking cursor to the end of the file, and paste the following two lines: # line for mounting the external drive This opens up the fstab file in a text editor.This takes a backup of the file we're about to edit./media/toshibaHDD - is the name of the hardisk (can be checked in GParted in case you need to do the same with a different hardisk).Alternatively, you can use dmask and fmask instead of umask to give separate permissions to directories and files (respectively). umask=003 - this will give rwxrwxr- permissions to everything (directories and files) inside the drive.exec - allows for execution of binaries on this drive.user - permits any user to mount the drive.Since you've already tried this command and it didn't work, let's try manually mounting the drive. /dev/sdc1 is the name of the partition or device (can be checked in GParted in case you need to do the same with a different hardisk).It was probably read/write anyways, but this is just to double check. rw - this option mounts the drive as read/write.gid=1000 - this option makes the group with id 1000 the group owner of the drive.If you have more than one username on your system, run the command id and use the number after uid=. This is probably your username's id if you only have one username. uid=1000 - this option makes the user with id 1000 the owner of the drive.remount - remounts the drive over the same mount point with the same previous options.Try executing the following command in a terminal: sudo mount -o remount,uid=1000,gid=1000,rw /dev/sdc1 How can I change the owner and permission of this hard drive ? I/O size (minimum/optimal): 512 bytes / 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I have got an external hard disk TOSHIBA 1TB USB 3, the permission is always READ ONLY.įdisk -l (output) : Disk /dev/sda: 500.1 GB, 500107862016 bytesĢ55 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
