Code::Blocks Forums

User forums => Help => Topic started by: audifanatic518 on May 30, 2011, 04:21:05 pm

Title: Permission denied: Fedora 15
Post by: audifanatic518 on May 30, 2011, 04:21:05 pm
Hi,

I'm new here, but not to Code::Blocks. I decided to use Code::Blocks in conjunction with Ubuntu this past semester in my intro to C class this past semester. I recently switched distros (to Fedora 15) because I absolutely hate Ubuntu's new Unity interface and I prefer Gnome 3. For the most part the transition was smooth, however, Code::Blocks does not function properly anymore. Whenever I try to run a program I get the following message in the pop-up window:

Quote
/home/<my name>/Programming/Homework/Homework1/bin/Debug/Homework1: Permission denied

The funny thing is that it compiles and runs fine in the terminal, but not within Code::Blocks. The permissions should be the same as they were in Ubuntu, I simply copied the folder to a flash drive and put it back on the computer after Fedora was installed.
Title: Re: Permission denied: Fedora 15
Post by: oBFusCATed on May 30, 2011, 04:25:39 pm
This is definitely not a C::B problem!

You've messed your permissions for sure :)

Are you sure that you  (your fedora user!) own the files and directories?
And the permissions are correct?
If you don't know how to check them search google :)
(hint: search for chmod, chown, chgrp and ls)
Title: Re: Permission denied: Fedora 15
Post by: audifanatic518 on May 30, 2011, 05:56:35 pm
This is definitely not a C::B problem!

You've messed your permissions for sure :)

Are you sure that you  (your fedora user!) own the files and directories?
And the permissions are correct?
If you don't know how to check them search google :)
(hint: search for chmod, chown, chgrp and ls)

Thanks, got it...

I clicked properties on the executable in the debug folder. Under the permissions tab there was a little check box that said "allow executing file as program" and I checked it off and it works now!
Title: Re: Permission denied: Fedora 15
Post by: oBFusCATed on May 30, 2011, 06:04:17 pm
I clicked properties on the executable in the debug folder. Under the permissions tab there was a little check box that said "allow executing file as program" and I checked it off and it works now!
Blah, setting unix permissions using GUI, awful, blahh  :lol: