d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Code::blocks Error 126 (0x7e) Permission Denied? > Using Linux Mint For Os.
Add Reply New Topic New Poll
Member
Posts: 35,456
Joined: Jan 25 2009
Gold: 1,173.00
Sep 3 2014 07:53am
Got an error on Code::Blocks. Getting a 126 (0x7e) permission denied. I have tried sudo chown username:username /path/to/my/file ( sudo chown ninjasushi2:ninjasushi2 /home/ninjasushi2/School/CPP ).

Got any ideas? Can't seem to compile my programs. :(
Member
Posts: 62,215
Joined: Jun 3 2007
Gold: 9,039.20
Sep 3 2014 08:59am
Use ls -l file and ls -ld directory to see permissions and ownership.

Post what kind of file system (e.g., EXT4, NTFS, etc.) you have.

Alternative, try to use g++ to see if it may work.
Member
Posts: 35,456
Joined: Jan 25 2009
Gold: 1,173.00
Sep 3 2014 10:07am


I am not sure how to use the first two commands. haha thanks buddy.

edit:



This post was edited by NinjaSushi2 on Sep 3 2014 10:10am
Member
Posts: 62,215
Joined: Jun 3 2007
Gold: 9,039.20
Sep 3 2014 10:14am
Lol'd kinda, my fault I guess
Member
Posts: 35,456
Joined: Jan 25 2009
Gold: 1,173.00
Sep 3 2014 11:36am
Quote (killg0re @ 3 Sep 2014 11:14)
Lol'd kinda, my fault I guess


So I still have permission denied though. >.< dat systemd.. lol

Killg0re - "Well the first problem is you aren't using Fedora." :lol:
Member
Posts: 62,215
Joined: Jun 3 2007
Gold: 9,039.20
Sep 3 2014 10:11pm
Quote (NinjaSushi2 @ Sep 3 2014 11:36am)
So I still have permission denied though. >.< dat systemd.. lol

Killg0re - "Well the first problem is you aren't using Fedora." :lol:


Hahaha, I bet it would work in Fedora.
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Sep 4 2014 12:52am
You do realize that there is no such file named "test.cpp" in that directory right?

I suggest `cd`ing into the "Test" directory where the project may be stored...

edit:: Also check the owner and group of the files inside the "test" directory. You can use chown -R to recursively change ownership of directories.

This post was edited by AbDuCt on Sep 4 2014 12:54am
Member
Posts: 1,241
Joined: Jun 25 2011
Gold: Locked
Sep 4 2014 01:42am
Take a look here http://ubuntuforums.org/showthread.php?t=840445 (scroll down to post by chinchillart)
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll