View Single Post
Posts: 44 | Thanked: 15 times | Joined on Jan 2009 @ China
#6
slvr32, thanks!
I retyped my scripts in Leafpad on my n810 using your tips. I then tried out chmod a+x which, from what I understand from one of TA-t3's posts, should function pretty much as chmod +x. This is what happened (I've "bolded" my inputs to make this easier to read):

Code:
BusyBox v1.6.1 (2008-09-18 09:43:17 EEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo gainroot
Root shell enabled


BusyBox v1.6.1 (2008-09-18 09:43:17 EEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # cd /home/user/MyDocs
/home/user/MyDocs # ls -l
drwxr-xr-x    2 user     users        8192 Mar 17 23:21 Books
-rw-r--r--    1 user     users          77 Mar 22 17:27 GBackup.sh
-rw-r--r--    1 user     users         125 Mar 22 17:26 GLaunch.sh
-rw-r--r--    1 user     users         135 Mar 22 17:28 GRestore.sh
/home/user/MyDocs # chmod a+x GLaunch.sh
/home/user/MyDocs # chmod a+x GBackup.sh
/home/user/MyDocs # chmod a+x GRestore.sh
/home/user/MyDocs # ls -l
drwxr-xr-x    2 user     users        8192 Mar 17 23:21 Books
-rwxr-xr-x    1 user     users          77 Mar 22 17:27 GBackup.sh
-rwxr-xr-x    1 user     users         125 Mar 22 17:26 GLaunch.sh
-rwxr-xr-x    1 user     users         135 Mar 22 17:28 GRestore.sh
/home/user/MyDocs #
It looks like the chmod command had no effect on any of the script files. Any hints about what I'm doing wrong?