Thursday, May 9, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2050  / 2 Years ago, sat, august 13, 2022, 5:19:07

I want to compile a source code in a NTFS partiotion but can not as shown in the following picture:



can not be compiled in NTFS partitions



Although i can write files into that partition but Compile NOT!



How can i solve it?


More From » compiling

 Answers
5

You can not compile because your file does not has executable permission. And you can not set file permission which is in ntfs partition because you did not mount your partition with write permission(But you can copy, cut, paste file). Easy solution is use ntfs-config



sudo apt-get install ntfs-config
sudo ntfs-config


Enable write permission for Internal and External device



enter image description here



Or you can set your fstab manually(ntfs-config just set your fstab). Your fstab should look like this..



#Entry for /dev/sda5 :
UUID=7818C41F18C3DA70 /media/Local ntfs-3g defaults,locale=en_US.UTF-8 0 0
#Entry for /dev/sda6 :
UUID=7ED0CAEED0CAABA9 /media/Office ntfs-3g defaults,locale=en_US.UTF-8 0 0

[#36783] Sunday, August 14, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lassrake

Total Points: 400
Total Questions: 103
Total Answers: 98

Location: Netherlands
Member since Mon, Jun 22, 2020
4 Years ago
;