[yocto] file permissions
Andy Ng
andreas2025 at gmail.com
Sat Aug 17 22:42:05 PDT 2013
Dear List,
I try to build Poky and the final rootfs image doesn't not mount with the
following problem:
----------------------8<-------------------------8<------------------------------
BIFS: mounted UBI device 0, volume 0, name "polatisnic-rootfs"
UBIFS: mounted read-only
UBIFS: file system size: 10737408 bytes (10485 KiB, 10 MiB, 82 LEBs)
UBIFS: journal size: 1964160 bytes (1918 KiB, 1 MiB, 15 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root: 0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem) readonly on device 0:14.
devtmpfs: mounted
Freeing init memory: 208K
INIT: version 2.88 booting
mount: permission denied (are you root?)
mount: permission denied (are you root?)
grep: /proc/filesystems: No such file or directory
mount: permission denied (are you root?)
grep: /proc/mounts: No such file or directory
grep: /proc/mounts: No such file or directory
Remounting root file system...
mount: can't read '/etc/mtab': No such file or directory
------------------------8<-----------------------------------8<------------------
After a bit of research, I fount out that the busybox was populated in the
rootfs
under ownership of "andreas:andreas" instead of "root:root"
I fixed manually the ownership and it booted up.
Does anyone knows what might be going wrong in my build process?
Any guidance would be very helpful.
TIA
Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130818/0c4ae41e/attachment.html>
More information about the yocto
mailing list