mardi 3 mars 2015

Scripting help topic






Hi, I wrote a little script to change couple of files. This is for replacing "ClassicTV" icons to Kodi icons on the FTV home (using llama).

My file is named "k.sh" and I have attached that (remove .txt from the end). The script works fine when I invoke it using "Script Manager", but when I try to invoke it from shell, it gives me execute permission error.

I have a folder in /sdcard called "kscripts' and this folder has the "k.sh" file.

I did try this: "chmod 777 kscripts" (after cd into /sdcard) and "chmod 777 k.sh" (after cd into /sdcard/kscripts).

When I run from shell (su) "./k.sh", I get the message "can't execute: Permission denied".

Any help is appreciated. Thanks.














Attached Files





File Type: txt k.sh.txt -
[Click for QR Code]
(368 Bytes)










Aucun commentaire:

Enregistrer un commentaire