Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 01-06-2004, 11:25 PM   #1
LQ Newbie
Registered: Apr 2003
Location: Cyber Space
Distribution: MDK 9
Posts: 24

Rep: Reputation: 15
Only admin can run gcc help!

I can log in to my server and compile programs with gcc just fine,
but if I log in as anyone else it says "permision denied"
How do I enable other users to use gcc without changing the security level.
Old 01-07-2004, 04:25 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"How do I enable other users to use gcc without changing the security level."

Check the permissions for gcc. You want it to be executable by group and others.

You can find gcc with:
find /usr -iname "*gcc*"
It is probably /usr/bin/gcc in which case you want
chmod 711 /usr/bin/gcc
Be prepared. Create a LifeBoat CD.

Steve Stites
Old 01-07-2004, 10:15 PM   #3
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
mine is set to -rwxr-xr-x

which would be 755


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
gcc does not run nor g++ thematrimix Debian 3 10-02-2005 10:06 PM
User admin and N/w admin on Gnome hangs ssrini *BSD 2 07-28-2005 07:55 AM
gcc or cc cant run MI3GTO Linux From Scratch 4 03-02-2005 12:15 PM
Can gcc 3.2.2-5 run on RH8.0 satimis Red Hat 1 07-07-2004 08:54 PM
Executable compiled w/gcc won't run brancheb Programming 5 05-16-2004 01:56 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:09 AM.

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