jrudolph/scala-android-libs — Issue #5: chmod and ln command fail
Author: markmarch
Created: 2011-11-28 01:35:12+00:00
State: open

I installed the app on my Galaxy Tab 10.1 with custom ROM StarBurst(rooted) and the app force closed when executing `chmod a+r `( it throws a `RuntimeException` saying that the command exited with code `10`). After googling for a while, somebody said that it might be because of using `a+r` instead of numeric values, so I changed it to `chmod 755`, it worked.
After that, it force closed again when executing `ln -sf` command. Though trying various command using `adb`, I found out that I can create symbolic links using `ln -s` but would fail with `ln -sf` (it's giving me `file or directory not exists` error). So I changed `ln -sf` to `ln -s` and it worked. I don't really know why but I thought somebody else might running into the same problem, so I'm creating an Issue for this.