Pentaho Linux .sh files

Small little tip:

The pentaho build process doesn’t currently manage the permissions on .sh files properly.  When you download the daily builds or other demo installations you may get some errors (bash command not founds, etc).  You need to change to executable all .sh files in the installation.  Use the following command in the “pentaho-demo” directory.

for x in `find . -name ‘*.sh’`; do chmod +x $x; done

Hope you find this helpful!

2 Responses to “Pentaho Linux .sh files”

  1. Matt Casters Says:

    For Kettle you can also use the following command if you don’t like to do the chmod thingy…

    sh -C spoon.sh

  2. Matt Casters Says:

    Oh, and I always use this version if i want to go to all subdirectories to change or delete something:

    find . -name “*.sh” -exec chmod +x {} \;

Leave a Reply