转http://www.cnblogs.com/zhanglanyun/archive/2012/01/03/2310968.html
zhanglanyun@zhanglanyun:~$ adb push hello /data/hello
failed to copy 'hello' to '/data/hello': Permission denied
然后查找资料,运行命令如下
# adb shel
# su
#mount
# mount
rootfs / rootfs ro 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
/dev/block/mtdblock1 /system yaffs2 rw 0 0
/dev/block/mtdblock2 /data yaffs2 rw,nosuid,nodev 0 0
/dev/block/mtdblock0 /cache yaffs2 rw,nosuid,nodev 0 0
DxDrmServerIpc /data/DxDrm/fuse fuse.DxDrmServerIpc rw,nosuid,nodev,user_id=0,group_id=0,allow_other 0 0
/dev/block//vold/179:1 /sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
#mount -o rw,remount -t yaffs2 /dev/block/mtdblock1 /system
#chmod 777 /system
#exit
zhanglanyun@zhanglanyun:~$ adb push hello /system/hello
445 KB/s (19138 bytes in 0.041s)