[Galaxy S II Original Android Development] Flint2:
files permissions

Why you want to change multiple files?

Edit the files in /data/data/ar.com.nivel7.kernelgesturesbuilder/files , then from Kernel Gestures Builder app select menu / Install Gestures. The app take care of permissions.

Warning: if you modify files in /data/gestures first select menu / Load Gestures , because there are overwritten on Install.

As you can see permissions in script directory /data/gestures matters, but not in app working directory /data/data/ar.com.nivel7.kernelgesturesbuilder/files

adb shell

~ # cd /data/data/ar.com*/files
cd /data/data/ar.com*/files
/data/data/ar.com.nivel7.kernelgesturesbuilder/files # ls -l
ls -l
-rw-rw-rw- 1 root root 80 Jan 7 14:40 gesture-1.config
-rw-rw-rw- 1 root root 185 Jan 7 14:40 gesture-1.sh
-rw-rw-rw- 1 root root 88 Jan 7 14:40 gesture-10.config
-rw-rw-rw- 1 root root 17 Jan 7 14:40 gesture-10.sh
-rw-rw-rw- 1 root root 61 Jan 7 14:40 gesture-11.config
-rw-rw-rw- 1 root root 412 Jan 7 14:40 gesture-11.sh
-rw-rw---- 1 app_26 app_26 90 Jan 7 15:03 gesture-12.config
-rw-rw-rw- 1 1 1 18 Jan 7 15:01 gesture-12.sh
-rw-rw-rw- 1 root root 56 Jan 7 14:40 gesture-2.config
-rw-rw-rw- 1 root root 230 Jan 7 14:40 gesture-2.sh
-rw-rw-rw- 1 root root 100 Jan 7 14:40 gesture-3.config
-rw-rw-rw- 1 root root 84 Jan 7 14:40 gesture-3.sh
-rw-rw-rw- 1 root root 108 Jan 7 14:40 gesture-4.config
-rw-rw-rw- 1 root root 37 Jan 7 14:40 gesture-4.sh
-rw-rw-rw- 1 root root 60 Jan 7 14:40 gesture-5.config
-rw-rw-rw- 1 root root 63 Jan 7 14:40 gesture-5.sh
-rw-rw-rw- 1 root root 80 Jan 7 14:40 gesture-6.config
-rw-rw-rw- 1 root root 258 Jan 7 14:40 gesture-6.sh
-rw-rw-rw- 1 root root 82 Jan 7 14:40 gesture-7.config
-rw-rw-rw- 1 root root 178 Jan 7 14:40 gesture-7.sh
-rw-rw-rw- 1 root root 82 Jan 7 14:40 gesture-8.config
-rw-rw-rw- 1 root root 18 Jan 7 14:40 gesture-8.sh
-rw-rw-rw- 1 root root 80 Jan 7 14:40 gesture-9.config
-rw-rw-rw- 1 root root 19 Jan 7 14:40 gesture-9.sh
-rw-rw---- 1 1 1 1114 Jan 7 16:58 gesture_set.sh
-rwxr-xr-x 1 app_26 app_26 954 Jan 16 17:29 install_gestures.sh
-rw-rw-rw- 1 root root 62 Jan 7 14:40 nohup.out
/data/data/ar.com.nivel7.kernelgesturesbuilder/files # cd /data/gestures
cd /data/gestures
/data/gestures # ls -l
ls -l
-rw-r--r-- 1 root root 80 Jan 16 17:29 gesture-1.config
-rwxr-xr-x 1 root root 185 Jan 16 17:29 gesture-1.sh
-rw-r--r-- 1 root root 88 Jan 16 17:29 gesture-10.config
-rwxr-xr-x 1 root root 17 Jan 16 17:29 gesture-10.sh
-rw-r--r-- 1 root root 61 Jan 16 17:29 gesture-11.config
-rwxr-xr-x 1 root root 412 Jan 16 17:29 gesture-11.sh
-rw-r--r-- 1 root root 90 Jan 16 17:29 gesture-12.config
-rwxr-xr-x 1 root root 18 Jan 16 17:29 gesture-12.sh
-rw-r--r-- 1 root root 56 Jan 16 17:29 gesture-2.config
-rwxr-xr-x 1 root root 230 Jan 16 17:29 gesture-2.sh
-rw-r--r-- 1 root root 100 Jan 16 17:29 gesture-3.config
-rwxr-xr-x 1 root root 84 Jan 16 17:29 gesture-3.sh
-rw-r--r-- 1 root root 108 Jan 16 17:29 gesture-4.config
-rwxr-xr-x 1 root root 37 Jan 16 17:29 gesture-4.sh
-rw-r--r-- 1 root root 60 Jan 16 17:29 gesture-5.config
-rwxr-xr-x 1 root root 63 Jan 16 17:29 gesture-5.sh
-rw-r--r-- 1 root root 80 Jan 16 17:29 gesture-6.config
-rwxr-xr-x 1 root root 258 Jan 16 17:29 gesture-6.sh
-rw-r--r-- 1 root root 82 Jan 16 17:29 gesture-7.config
-rwxr-xr-x 1 root root 178 Jan 16 17:29 gesture-7.sh
-rw-r--r-- 1 root root 82 Jan 16 17:29 gesture-8.config
-rwxr-xr-x 1 root root 18 Jan 16 17:29 gesture-8.sh
-rw-r--r-- 1 root root 80 Jan 16 17:29 gesture-9.config
-rwxr-xr-x 1 root root 19 Jan 16 17:29 gesture-9.sh
-rw------- 1 root root 62 Jan 16 17:29 nohup.out
/data/gestures #

If you still need it for other purpose, the way I know for changing multiple files is

adb shell ( or terminal emulator )

su

cd /data/directory

chmod a+x