LinuxQuestions.org
Help answer threads with 0 replies.
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-07-2004, 12:25 AM   #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, 05:25 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
"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, 11: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


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


All times are GMT -5. The time now is 08:44 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