On May 21, 2009, at 2:58 AM, Kenneth Gonsalves wrote:
greenchilly:/home/lawgon# su vmail -c "echo OK" OKgreenchilly:/home/lawgon# su vmail -c 'cd /home/vmail/example.com/ john &&echo Dir:$(pwd)' Dir:/home/vmail/example.com/johnI also did a chmod o+r on /home, /home/vmail, /home/vmail/ example.com and/home/vmail/example.com/john
chdir() wants +x, not +r.
