X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Frb532-2.6%2Fbase-files%2Fdefault%2Fsbin%2Fcf2nand;h=fb3717499bae59fcba7682769ac10181e217421f;hb=1aaef294f096bee3839f6ff0137690d23e486254;hp=74ac89402b4980911bd89d4931469b7efddea210;hpb=91ef5971fc5589462db60358c4c44d7249544448;p=openwrt-10.03%2F.git diff --git a/target/linux/rb532-2.6/base-files/default/sbin/cf2nand b/target/linux/rb532-2.6/base-files/default/sbin/cf2nand index 74ac89402..fb3717499 100755 --- a/target/linux/rb532-2.6/base-files/default/sbin/cf2nand +++ b/target/linux/rb532-2.6/base-files/default/sbin/cf2nand @@ -51,6 +51,7 @@ rmdir /tmp/cf2nand/p1 echo "Copying filesystem..." ( cd /tmp/cf2nand/rootfs; tar c . ) | ( cd /tmp/cf2nand/p2; tar x ) +echo "chmod ugo+x /" > /tmp/cf2nand/p2/etc/uci-defaults/set_root_permission sync umount /tmp/cf2nand/p2 rmdir /tmp/cf2nand/p2