LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-21-2003, 10:25 AM   #1
neilcpp
Member
 
Registered: Jul 2003
Location: England
Distribution: Debian Jessie, FreeBSD 10.1 anything *nix to get my fix
Posts: 329

Rep: Reputation: Disabled
Kdevelop g++ permission denied


hello i have installed kdevelop - the ide for c++ programs.

I tried to compile the simple hello world program, logged in as a normal user but get the error:

g++ permission denied.

What file do i need to change to get permission to use the compiler in this ide as an ordinary user please?

thanks

 
Old 10-21-2003, 11:43 AM   #2
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
Hmmm, it's odd that you would need to change it. But here's how.

It's probably in /usr/bin/g++ but to check, type "which g++"

Then, "chmod a+x /usr/bin/g++"

John
 
Old 10-27-2003, 09:22 AM   #3
neilcpp
Member
 
Registered: Jul 2003
Location: England
Distribution: Debian Jessie, FreeBSD 10.1 anything *nix to get my fix
Posts: 329

Original Poster
Rep: Reputation: Disabled
Thanks, Ive sorted this out now. The problem was i had been running my system on a default security level that meant only root could execute g++
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 05:50 AM
Permission Denied PacMansRancor Linux - Newbie 3 09-29-2005 05:45 PM
Permission denied jagman026 Fedora 3 01-01-2005 04:45 PM
Permission Denied???? ddrfreak Mandriva 2 12-11-2004 08:09 AM
ls/cp ... : permission denied Roadrunner Linux - Newbie 5 09-09-2003 07:00 AM


All times are GMT -5. The time now is 12:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration