[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Executing script



On Tuesday 05 July 2005 05:48, j Mak wrote:
 > Hi,
 >
 > I have a script for ejecting cd from the drive. The
 > script resides in the /usr/bin directory.  But, I am
 > unable to make the link to the script work. The only
 > way I can execute the script is to login as root,
 > navigate to the /usr/bin directory and double-clicking
 > on it. How can i make the link on the desktop execute
 > the script?
 > I am running kde desktop; the link dialog doesn't let
 > me check the executable box; only the read and write
 > boxes.

Are you sure that the script-file has the x-bit set for your group?
Try making the ``link to application'' point to 
``sh /usr/bin/<your-script-name>''.

Try posting the output of `ls -la /usr/bin/<your-script-name>'.

Regards, Anders Breindahl.

Attachment: pgpve30cdSmAg.pgp
Description: PGP signature


Reply to: