When your file is in NTFS partition, you are not allowed to change permission or execute file.
You need to add permissions for the partition.
Find UUID of all partitions using
Open file /etc/fstab
and add following line for each partition which should be auto-mounted with executable file permissions.
UUID of the partition can be found using above mentioned command and /media/root is the directory where you want the partition should be mounted
Now partition files have changeable and executable permissions.
You need to add permissions for the partition.
Find UUID of all partitions using
sudo blkid
Open file /etc/fstab
and add following line for each partition which should be auto-mounted with executable file permissions.
UUID=12102C02102CEB83 /media/root ntfs-3g auto,users,exec,permissions 0 0
UUID of the partition can be found using above mentioned command and /media/root is the directory where you want the partition should be mounted
Now partition files have changeable and executable permissions.
No comments:
Post a Comment