☰
d2jsp
Rules
Help
Forum Gold FAQ
Live Streams
Photo Gallery
Hourly Raffle
Ladder Slasher
Log In
Register
Log In
Register
Account Recovery
Resend Validation Email
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
Views: 1614
Replies: 7
Track Topic
NinjaSushi
Member
Posts: 35,456
Joined: Jan 25 2009
Gold
:
1,173.00
#1
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.
j0ltk0la
Member
Posts: 62,215
Joined: Jun 3 2007
Gold
:
9,039.20
#2
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.
NinjaSushi
Member
Posts: 35,456
Joined: Jan 25 2009
Gold
:
1,173.00
#3
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
j0ltk0la
Member
Posts: 62,215
Joined: Jun 3 2007
Gold
:
9,039.20
#4
Sep 3 2014 10:14am
Lol'd kinda, my fault I guess
NinjaSushi
Member
Posts: 35,456
Joined: Jan 25 2009
Gold
:
1,173.00
#5
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."
j0ltk0la
Member
Posts: 62,215
Joined: Jun 3 2007
Gold
:
9,039.20
#6
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."
Hahaha, I bet it would work in Fedora.
AbDuCt
Member
Posts: 13,425
Joined: Sep 29 2007
Gold
:
0.00
Warn: 20%
#7
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
m0hawk
Member
Posts: 1,241
Joined: Jun 25 2011
Gold
:
Locked
#8
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
© 2003-2026 d2jsp
Contact