You might need to add the postgres user to the inet group. More info here http://blog.appuarium.com/2011/06/23/how-android-enforces-android-permission-internet/
On Sat, Oct 6, 2012 at 8:41 AM, Steve <[email protected]> wrote: > Hello, > > sorry if I a am on the completely wrong forum, but I were unable to get the > right one :-/ > > My question is relatively simple: > > I want to run postgresql inside a debian chroot on my android device. > > Unfortunately the "postgres" user that wants to run the server is unable to > bind a socket. (permission denied) > > I tried mysql as well. Same problems - but mysql is able to be run as root. > This works but I dont want to be in this security mess... > > > How can I give rights to bind a socket to a user (inside a chroot)? > > > Here my demonstration: > > // as root - success > > root@android-b:~# ping 127.0.0.1 > 64 bytes from 127.0.0.1: icmp_req=1 ttl=64 time=0.407 ms > > > // as postgres - fail > root@androidb:~# su postgres > postgres@android-b:/root$ ping 127.0.0.1 > socket: Permission denied > > > > Thanks for any help! > Steve > > -- > You received this message because you are subscribed to the Google Groups > "Android Security Discussions" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/android-security-discuss/-/nmDXHulPnRgJ. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/android-security-discuss?hl=en. -- You received this message because you are subscribed to the Google Groups "Android Security Discussions" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/android-security-discuss?hl=en.
