I need to mount an ntfs
disk with the certain permission and for an user alex
be able to have the same as root
would have.
Here is my file /etc/fstab
/dev/sda2 /media/win_disk ntfs-3g rwx,locale=en_US.utf8 0 0
When I try to mount it, it says
An error occurred while accessing '421.8 GiB Hard Disk (ntfs)', the system responded: The requested operation has failed.: Error mounting: mount exited with exit code 1: helper failed with:
mount: only root can mount /dev/sda2 on /media/win_disk
How do I get rid of it?
user
option, so:/dev/sda2 /media/win_disk ntfs-3g rwx,user,locale=en_US.utf8 0 0
. But also, I've never seen thisrwx
option.rwx
permissions for who? The owner (user), group, or other? To control permissions, you'll need to use theumask
option, and to control ownership, you need to use theuid
andgid
options. Who do you want to be the owner of all files under the partition? You? The usual approach is that you make yourself the owner, and give yourselfrwx
permissions.