Whats Bad Mode?
Okay, so i made a script for android and put this:
"$ chmod +x lu.bin"
When i ran, it said "Bad Mode"
I decided to rewrite and put:
"$ chmod +x lu.bin
2 errors came up:
and it cannot be found (even though its on my sdcard)
I also tried with SU on, whats the problem?
You need to say who you're changing the mode for. For example o+x for non-owners of the file or a+x for everyone.
Originally Posted by Mastermrz
How are you accessing the command line for your android device? Also, if the shell you are using is a busybox based tool (likely), then it may not support the symbolic permissions strings like +x etc. and may require that you use the old octal values instead, such as "chmod 776 file.name".