User forums > General (but related to Code::Blocks)

Permission Denied though my linux chmod has allowed 777

<< < (3/7) > >>

edcompsci:
here's my shell settings. Not sure where you entered the xdg-open part.



It isn't trying to execute a folder because all I'm doing is clicking Build and Run.


Sorry, no it's not a folder. At first it was a file that I forgot to put the .c extension on but the I got the same error with the same program with a .c extension, and 5 or more other .c programs all the same error.

I'll try changing the /bin/sh to /bin/bash

oBFusCATed:
I don't see full build log in your posts, please post one.
Also after a build please post the output of "ls -lAtr" in the folder where you expect the executable to be.
The output should look something like the output from Commaster.
You have to have x-es in the permissions for the executable.

edcompsci:
changing to /bin/bash did nothing. maybe it needs to run in csh.. will try

edcompsci:
still stuck.

oBFusCATed:

--- Quote from: oBFusCATed on June 10, 2021, 01:58:03 am ---I don't see full build log in your posts, please post one.
Also after a build please post the output of "ls -lAtr" in the folder where you expect the executable to be.
The output should look something like the output from Commaster.
You have to have x-es in the permissions for the executable.

--- End quote ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version