When I try to compile it says
sh: 1: /media/user/Linux/test/bin/Debug/test: Permission denied
I did not have this problem with Ubuntu 12.10
I have just started to use Ubuntu so….
13.04compiling
When I try to compile it says
sh: 1: /media/user/Linux/test/bin/Debug/test: Permission denied
I did not have this problem with Ubuntu 12.10
I have just started to use Ubuntu so….
Best Answer
I have solved by making the NTFS partition executable You find these steps if you search for How to get permission to compile a C program from a NTFS Hard Drive.
Follow these steps to make a NTFS partition executable:
Open a terminal and type
This command allow you to identify your NTFS drive and your UUID number. Example :
Open the
/etc/fstab
file from terminal typingDon't edit the existing lines, but add new one at the end like this example:
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:
After I have done this it said that it can not be mounted, but after I have restarted Ubuntu it worked.
And restart Ubuntu. Done
Now, every time you mount your NTFS partition, you will be able to run executable files.