Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have got an external hard disk TOSHIBA 1TB USB 3, the permission is always READ ONLY.

fdisk -l (output) :

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf2198b37

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2046   362369023   181183489    5  Extended
/dev/sda3       362371072   976771071   307200000    7  HPFS/NTFS/exFAT
/dev/sda5            2048      976895      487424   83  Linux
/dev/sda6          978944   362369023   180695040   83  Linux

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xeba6fb57

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1           16065   312576704   156280320    f  W95 Ext'd (LBA)
/dev/sdb5           16128   312573708   156278790+   7  HPFS/NTFS/exFAT

Disk /dev/sdc: 1000.2 GB, 1000204885504 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525167 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x297c35de

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1              63  1953520064   976760001    7  HPFS/NTFS/exFAT

How can I change the owner and permission of this hard drive ?


share|improve this question
Try sudo mount -o remount,uid=1000,gid=46,rw /dev/sdc1 in a terminal. – Alaa Ali Aug 16 '13 at 9:37
@ Alaa still same permission nothing changed !! – moata_u Aug 16 '13 at 9:50
What is the output of the commands mount | grep sdc and id? Also, check the permissions of a folder inside your drive, not the actual "TOSHIBA" folder. – Alaa Ali Aug 16 '13 at 9:54
/dev/sdc1 on /media/TOSHIBA type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,uid=1000,gid=46,uid=1000,gid=46) ..... permission is = drwxr-xr-x 1 root root – moata_u Aug 16 '13 at 11:15
I've posted an answer. The first command is what you tried before, so you may skip it and start from the numbered steps. – Alaa Ali Aug 16 '13 at 14:54
up vote 9 down vote accepted

Try executing the following command in a terminal:

sudo mount -o remount,uid=1000,gid=1000,rw /dev/sdc1


  • -o means "with these options".
  • remount - remounts the drive over the same mount point with the same previous options.
  • uid=1000 - this option makes the user with id 1000 the owner of the drive. This is probably your username's id if you only have one username. If you have more than one username on your system, run the command id and use the number after uid=.
  • gid=1000 - this option makes the group with id 1000 the group owner of the drive. Same notes as previous point.
  • rw - this option mounts the drive as read/write. It was probably read/write anyways, but this is just to double check.

Since you've already tried this command and it didn't work, let's try manually mounting the drive. Follow the below:

  1. sudo umount /dev/sdc1

    • This unmounts the drive.
  2. sudo mkdir toshibaHDD

    • This will create a new mount point.
  3. sudo mount -o rw,uid=1000,gid=1000,user,exec,umask=003,blksize=4096 /dev/sdc1 /media/toshibaHDD

    • user - permits any user to mount the drive
    • exec - allows for execution of binaries on this drive. You can remove this option if you want.
    • umask=003 - this will give rwxrwxr-- permissions to everything (directories and files) inside the drive. Alternatively, you can use dmask and fmask instead of umask to give separate permissions to directories and files (respectively).

Now check the permissions of your drive.


Follow the steps to make it permanent:

  1. Unplug your external hard disk.
  2. cd /etc
  3. sudo cp fstab fstab.bak

    • This takes a backup of the file we're about to edit.
  4. sudo nano fstab

    • This opens up the fstab file in a text editor.
  5. Move the blinking cursor to the end of the file, and paste the following two lines:

    # line for mounting the external drive
    UUID=D04A-0AE4   /media/toshibaHDD  exfat   rw,uid=1000,gid=1000,user,exec,umask=003,blksize=4096   0   0
  6. Hit Ctrl+X, then Y, then Enter to save and close.

That's it. Now, when you plug your external hard disk in, it will always have those options.

share|improve this answer
Still same problem : drwxr-xr-x 1 root root 131072 Jan 1 1970 external – moata_u Aug 16 '13 at 15:21
wowowo ,, thanks its work 100% just forget to add user i mean (my user).. – moata_u Aug 16 '13 at 15:23
still have problem your way fix the issue for a while after i start use it the hard disk umount , and can't see until i remove it and then i need to do it again and again !! – moata_u Aug 16 '13 at 20:47
No worries, we'll make it permanent. While your hard disk is connected and mounted, what's the output of sudo blkid? – Alaa Ali Aug 16 '13 at 21:45
/dev/sda3: UUID="48CE8013CE7FF790" TYPE="ntfs" /dev/sda5: UUID="8ef79eb5-988f-4634-b94c-e3830c7d5ecf" TYPE="ext4" /dev/sda6: UUID="2a5c539e-aa76-43b8-bcde-a060a64fd77a" TYPE="ext4" /dev/sdb5: LABEL="Moata" UUID="1EB62796B6276E09" TYPE="ntfs" /dev/sdd1: LABEL="TOSHIBA" UUID="D04A-0AE4" TYPE="exfat" – moata_u Aug 16 '13 at 21:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.