I am a newbie to ubuntu and trying to compile and run C++ programs in Ubuntu terminal and in CodeBlocks (Ubuntu 14.04). I get the permission denied error when executing. I understand that the file/folder permissions are the issue here. I tried using chmod to allow executable permission to my cpp folder, which is a folder in one of my my windows partitions (win 7, dual booting).
chmod -R 777 /media/sandun/Data/cpp/
It doesn't give an error but not working. I searched more and more and found that I should mount the partition in ubuntu which is given in the link below.
.exe file permission fail
I didn't try that yet. I am wondering whether it will work or effect the file system on windows partition. Or is there any other alternative?
Thanks a lot.
ls -lsa /media/sandun/Data/cpp/
– Yaron Mar 13 '17 at 10:54