How to get permissions to execute programs from NTFS hard drive?
Solution 1:
Follow these steps to make a NTFS partition executable:
-
Open a terminal and type
sudo blkid -c /dev/null
This command allow you to identify yourNTFS
drive and yourUUID
number. Example:/dev/sdb1: LABEL="my_label" UUID="xxx" TYPE="ntfs"
Open the
/etc/fstab
file from terminal typingsudo -H gedit /etc/fstab
-
Don’t edit the existing lines, but add new one at the end like this example:
UUID=xxx /media/my_label ntfs-3g defaults,auto,uid=1000,gid=1000,umask=002 0 0
NOTE: Replace the
UUID
number and the mounting point/media/my_label
according to your situation! Save the file and close the text editor.
Enter the next command in the terminal:
sudo mount -a
And restart Ubuntu. Done
Now, every time you mount your NTFS
partition, you will be able to run executable files.
Solution 2:
I tried above solutions but didn’t work for me. This worked.
UUID=xxx /media/ny ntfs-3g auto,users,permissions,exec,big_writes,windows_names 0 0
Ref - https://wiki.archlinux.org/index.php/NTFS-3G