Opening the Gallery Remote Shell Script

punwit

Joined: 2005-06-22
Posts: 2
Posted: Wed, 2005-06-22 01:23

I'm rather an inexperienced Linux user and I'm having difficulties installing and running the Shell Script that I downloaded for linux. I've tried opening the file as root and I'm still denied permission. I'm hoping this is just something simple. Can anyone help me?

 
punwit

Joined: 2005-06-22
Posts: 2
Posted: Wed, 2005-06-22 12:08

Here is wht I get when I try to open the .bin file I downloaded:

The filename "GalleryRemote.1.4.1.Linux.NoVM.bin" indicates that this file is of type "unknown". The contents of the file indicate that the file is of type "shell script". If you open this file, the file might present a security risk to your system.

Do not open the file unless you created the file yourself, or received the file from a trusted source. To open the file, rename the file to the correct extension for "shell script", then open the file normally. Alternatively, use the Open With menu to choose a specific application for the file.

 
newbie2

Joined: 2006-11-30
Posts: 1
Posted: Thu, 2006-11-30 02:07

How did you fix this problem?

 
clshrock

Joined: 2007-01-12
Posts: 2
Posted: Fri, 2007-01-12 07:30

In linux, any file can be executed. The .bin file that you downloaded is not a binary file but is a script. And by default, you won't be able to execute the file because most likely, the file will not be marked as an executable. To execute the file, you have to first change the permissions of the file to allow execution--in the console, you type:

chmod +x GalleryRemote.1.5.Linux.bin

or whatever the file name is...the "+x" means add the execute privilege to the file. Then, to execute the file, you must add a dot slash "./" in front of the file name. Like so:

./GalleryRemote.1.5.Linux.bin

Hope that helps.