LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 03: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, 03: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 03:47 PM.
 
Old 03-15-2004, 04: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


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


All times are GMT -5. The time now is 05:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration