mafianomad.blogg.se

Macbook external hard drive read only change to write
Macbook external hard drive read only change to write






macbook external hard drive read only change to write

Hit Ctrl+ X, then Y, then Enter to save and close.

macbook external hard drive read only change to write

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.
  • macbook external hard drive read only change to write

    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








    Macbook external hard drive read only change to write