How do I fix pwd (print working directory) on Cyanogenmod 7? I want to use WinSCP to transfer data to my phone over wireless. I've enabled dropbear on my phone.  WinSCP connects, but crashes after trying pwd.  Logging in with PuTTy, I can see that pwd is returning a blank line:

/data/dropbear # pwd

/data/dropbear # which pwd
/system/xbin/pwd
/data/dropbear # busybox pwd
/data/dropbear
/data/dropbear # ls -l /system/xbin/pwd
lrwxrwxrwx    1 root     root             7 Apr  1 23:30 pwd -&gt; busybox


Coming from an OpenWrt background, that dropbear setup seems normal to me.  Why is this shell printing blank lines?  My device is a Motorola Droid running Cyanogenmod 7 RC4.
Can you replace the pwd symbolic link with a script that just runs 'busybox pwd'?

Or would an alias work?