External disk (ext4) returns an error when tried to mounted with user permissions
Hello.
I have an external disk formatted with ext4 and when I tried to mount it using the following command Code:
sudo mount -t ext4 -o umask=0077,gid=1000,uid=1000 /dev/sdb1 /mnt Quote:
Code:
sudo mount /dev/sdb1 /mnt Why is this happening? |
Because umask, gid, etc... are NOT mount options for ext4 filesystems. They ARE mount options for fat filesystems and MAY be for others.
If you run "man mount" and search for ext4 you'll see the options applicable to ext4. (Oddly enough just above the options applicable to fat.) Not all options apply to all filesystems. You specified type as ext4 but then used fat options. What type of filesystem is it when you do the simple mount? (Look in /etc/mtab.) |
Yeap. It's ext4.
Thank you very much. |
Glad I could help. If you don't mind, please go to thread tools and mark this as Solved. It helps future web searchers more quickly find solutions.
|
All times are GMT -5. The time now is 07:24 AM. |