Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Linux Permission Denied  (Read 2298 times)

0 Members and 1 Guest are viewing this topic.

jessiejo

  • Newbie
  • *
  • Posts: 2
    • View Profile
Linux Permission Denied
« on: September 09, 2013, 05:22:02 pm »
Hello,

When I follow the tutorials for compiling a project with CodeBlock and SFML, I get the following error:
sh: 1: /media/jessie/72387B5E387B2071/Project/sfml test/bin/Debug/sfml test: Permission denied

Process returned 126 (0x7E)   execution time : 0.004 s
Press ENTER to continue.

I have checked and effectively sfml test is not executable, here the result of ls -l command:
ls -l
total 84
-rw------- 1 jessie jessie 84840 Sep  7 12:09 sfml test

I have tried to use the chmod command to make it executable but it isn't working ( I don't get any error, and I am able to make other files executable with chmod ). I have also tried to make it executable through the gui but it didn't work either.

I have also tried to compile it by following the command line tutorial, and I have got the same problem.

Can anyone help me out with this problem?

Thanks

Hanmac

  • Newbie
  • *
  • Posts: 20
    • View Profile
    • Email
Re: Linux Permission Denied
« Reply #1 on: September 09, 2013, 05:52:38 pm »
how did you use chmod? did you escape the name correctly?

it seems that the file has " " inside, so you may need:

chmod +x sfml\ test