LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 01-06-2004, 11:25 PM   #1
shizzilla
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
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"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.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 01-07-2004, 10:15 PM   #3
DavidPhillips
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
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:02 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
Open Source Consulting | Domain Registration