On Mon, May 23, 2011 at 7:57 PM, Noah Slater <[email protected]> wrote: > > On 23 May 2011, at 18:40, till wrote: > >> I think since the 127 comes from su, it doesn't even get to create >> .out and .err. I see them nowhere. Even after changing it to >> /tmp/couchdb.out (etc.). >> >> Googling says, "127 - a command could not be found", but I was unable >> to find a dedicated list of exit codes related to su. > > Have you tried with another command? > > What does this give you: > > su couchdb -c "echo test" > >
Great success: foo:~# su -c couchdb -c 'echo "foo"' foo
