LinuxQuestions.org
Review your favorite Linux distribution.
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 07-29-2005, 02:24 AM   #1
skvasistha
LQ Newbie
 
Registered: Nov 2004
Location: india
Posts: 14

Rep: Reputation: 0
unable to run a.out


hai all!
i have suse 9.2 installed.
i have created user with default permissions.
when i compile and execute a c program on root account its working.
but other users are only able to compile .
when ./a.out is typed the following message comes:
/bash-permission denied
pl help
 
Old 07-29-2005, 02:42 AM   #2
evilmrhenry
Member
 
Registered: Oct 2003
Distribution: Knoppix
Posts: 103

Rep: Reputation: 15
The problem is that the program does not have the correct permissions.

The easy way would likely be:
chmod a+r a.out
chmod a+x a.out
This will allow everyone to read and execute the program.
 
  


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
unable to run a.out skvasistha Linux - General 1 07-29-2005 02:27 AM
i'm unable to run a patch clueless_user Linux - Newbie 14 03-11-2005 09:23 AM
unable to run SWAT gmansfield Linux - Newbie 10 09-09-2003 10:02 AM
Volume control is unable to run correctly. Unable to open audio device '/dev/mixer'. sevenreams Slackware 1 05-16-2003 07:29 PM
Unable run sndconfig matin Linux - Newbie 1 02-26-2002 11:47 AM


All times are GMT -5. The time now is 06:05 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration