How to make a script executable from the toor shell in TIBCO LogLogic LMI

How to make a script executable from the toor shell in TIBCO LogLogic LMI

book

Article ID: KB0077532

calendar_today

Updated On:

Products Versions
TIBCO LogLogic Log Management Intelligence all versions

Description

1. SSH to the appliance and login as ”toor”.

2. Make the permissions executable on the script with the following command:

$ chmod +x  /path-to-script/script.name

Example 1:

$ cd /tmp; touch testfile; ls –l testfile

-rw-r--r--    1 root     root            0 Jul  1 12:23 testfile 

** Shows read/write permissions for the owner and read permissions for group and others.

$ chmod +x testfile ; ls -l testfile  

-rwxr-xr-x    1 root     root            0 Jul  1 12:23 testfile

This command would have resulted in the same permissions (rwxr-xr-x):
$ chmod 755 /path-to-script/script.name

** Shows read/write/execute permissions for the owner and read/execute permissions for group and others.
 

Alternatively, the following syntax would have only given toor/root execute permission:

$ chmod +ux testfile ; ls -l testfile  

-rwxr--r--    1 root     root            0 Jul  1 12:23 testfile

Issue/Introduction

This article explains how to make a script executable from the toor shell in LogLogic LMI.