andreasgal / B2G

Boot to Gecko aims to create a complete, standalone operating system for the open web.
https://wiki.mozilla.org/B2G
909 stars 158 forks source link

File ownership in initramfs is wrong #285

Open dhylands opened 12 years ago

dhylands commented 12 years ago

If you boot the sgs2 into recovery mode and adb shell into the phone, then you can see the files show up as being owned by the user that did the build rather than by root.

Using CONFIG_INITRAMFS_ROOT_UID=squash and CONFIG_INITRAMFS_ROOT_GID=squash will make the files be owned by root.