It seems that busybox' "test" returns the wrong result when applied to a R/O filesystem.
### Permissions "allow" write for root # ls -ld / drwxr-xr-x 15 root root 221 Apr 5 2011 / ### But the rootfs is (and can only be) mounted ro # mount | grep ' / ' /dev/mmcblk0p5 on / type squashfs (ro,noatime,errors=continue) ### With coreutils test # test -w / && echo Writable || echo Not writable Not writable ### With busybox test # busybox test -w / && echo Writable || echo Not writable Writable Rasmus _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox