LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-15-2007, 11:48 PM   #1
me210
Member
 
Registered: Jan 2007
Posts: 31

Rep: Reputation: 15
Here are instructions from a site:


Common problems in running jbilling on Linux/Unix

Why do I get permission denied or either command not found when running bin/run.sh -c jbilling?

Your bin/run.sh is not an executable file. Change the permission of your bin/run.sh to executable using chmod command."


---
But I don't know how to follow them. Can someone please show me a command line statement that will satisfy this? (My machine has "root" and "user1." Both are me.)

Thanks.
 
Old 01-15-2007, 11:52 PM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
chmod +x bin/run.sh

Study a bit on permissions ... It's critical to using Linux successfully

By the way, I would be quite surprised if there is a file named bin/run.sh, but I suppose it's possible.

Last edited by rickh; 01-15-2007 at 11:53 PM.
 
Old 01-15-2007, 11:53 PM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
The error says it all really. You need to give the file execute permissions using the chmod command.
Code:
$chmod 755 bin/run.sh
Alternatively you can just run the script by doing,
Code:
$sh bin/run.sh
 
Old 01-16-2007, 12:06 AM   #4
me210
Member
 
Registered: Jan 2007
Posts: 31

Original Poster
Rep: Reputation: 15
Thank you both. I've had an opportunity to use both of your suggestions.

I wrote...
chmod +x java-tools-bundle-linux.sh

...in order to get J2EE-related stuff going. I'll study permissions some more; it's a source of my greatest frustration with this platform so far.

(Also, yeah, I've been noticing that a lot of free-software sites like the one I cut the snip from are really sketchy/typo-ridden on the details of installation.)

I'll download some more Java stuff and maybe there will be another question about this.

Thanks again.

Last edited by me210; 01-16-2007 at 02:19 AM.
 
  


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
need in depth instructions Krimp Linux - Newbie 1 12-11-2006 03:03 PM
Moving to new site; critique my old site? Hosiah General 1 03-13-2006 03:14 AM
Do you know sourceforge site? How to upload to this site? TruongAn General 2 07-02-2005 05:26 AM
Certificates for following instructions jimdaworm General 2 02-20-2005 10:31 PM

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

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