LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 08-24-2010, 05:51 AM   #1
badriinvenkat
Member
 
Registered: Jul 2010
Posts: 39

Rep: Reputation: 15
Unhappy Small problem


hi every one

here is my problem while i executed some files when i am trying to open the output file it is displaying like this


badri@linuxmint ~/Desktop/acqproto/Objs $ ./acqproto2.o
bash: ./acqproto2.o: Permission denied
 
Old 08-24-2010, 07:14 AM   #2
fusion1275
Member
 
Registered: Jul 2007
Location: Knaphill, Surrey
Distribution: Linux Mint
Posts: 310

Rep: Reputation: 36
Try this and give us the output:

Quote:
ls -l acqproto2.o
Can you also tell us what type of file this is? Give us some background on what you are wanting to do.

Regards
 
Old 08-24-2010, 07:43 AM   #3
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
.o generally indicates a compiled object file, does it not?

Simply entering the name of a file, if prefixed with either the full or relative path (particularly "./" for the current directory), or if the directory is in the PATH variable, generally tells the shell to try to execute it. But if you don't have -x permission set for that file, and/or it isn't a proper executable, it won't succeed.

The error message above is specifically telling you that you that you don't have permission to launch it.

For non-executable files, you have to specify a program to open it with.
 
  


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
LXer: DLS <small>[<i>sic</i>]</small> answers user requests with 4.0 alpha LXer Syndicated Linux News 0 07-19-2007 07:46 PM
small c/c++ problem Garda Programming 16 05-24-2006 11:31 AM
small problem s9722 Linux - Newbie 4 06-05-2003 07:13 PM
small problem please help me shadowrsr6 Linux - Newbie 4 03-25-2003 07:26 PM
this problem is so small destkid Linux - Newbie 3 10-19-2001 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 05:58 AM.

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