LinuxQuestions.org
Review your favorite Linux distribution.
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 03-15-2004, 02:31 PM   #1
e-nDrju
LQ Newbie
 
Registered: Mar 2004
Location: Poland
Distribution: openSUSE 11.4
Posts: 16

Rep: Reputation: 0
.*BIN files problem


hi
i want to install java virtual machine. i have downloaded file with a BIN extension. when I want to open it, slackware says: Permission denied. I was logged by root of course. I have the same situation with *.sh scripts. What should I do? Thx for help.
 
Old 03-15-2004, 02:43 PM   #2
skel
Member
 
Registered: Jan 2004
Distribution: Slackware 10 ; Gentoo ; OpenBSD 3.6
Posts: 101

Rep: Reputation: 15
you have to change the permissions of the file to execute
chmod 777 filename will work
man chmod to learn more

same goes for shell scripts (.sh) files, but they might not have the shbang line at the top (#!/bin/sh) this line specifies the interpretor.

So if you have given yourself execute permissions with chmod and it still doesn't work then try:
sh file.sh

this run sh as the interpretor for file.sh

skel

Last edited by skel; 03-15-2004 at 02:47 PM.
 
Old 03-15-2004, 03:31 PM   #3
e-nDrju
LQ Newbie
 
Registered: Mar 2004
Location: Poland
Distribution: openSUSE 11.4
Posts: 16

Original Poster
Rep: Reputation: 0
thanks a lot. that was very helpful
 
  


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
Installing .bin-files, leave the file in /usr/local/bin/ ? lagu2653 Linux - Software 1 11-08-2005 08:30 PM
Problem with .bin files in Gnome 2.6 bear2x Mandriva 2 02-23-2005 05:07 PM
.sit files and .bin files in Linux pierre24 Linux - Newbie 2 02-02-2005 07:55 AM
How can I install Bin Files? or tg files? GeKsKe-XP Linux - Software 3 03-23-2004 03:54 PM
cant install .bin files, tar.gz files or anyother format!!! madskillz Linux - Newbie 4 10-05-2003 10:28 AM

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

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