User forums > Help
Permission denied: Fedora 15
(1/1)
audifanatic518:
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
--- End quote ---
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.
oBFusCATed:
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)
audifanatic518:
--- Quote from: 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)
--- End quote ---
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!
oBFusCATed:
--- Quote from: audifanatic518 on May 30, 2011, 05:56:35 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!
--- End quote ---
Blah, setting unix permissions using GUI, awful, blahh :lol:
Navigation
[0] Message Index
Go to full version