From: Gary Thomas <gary@mlbassoc.com>
To: yocto@yoctoproject.org
Subject: Re: file permissions
Date: Mon, 19 Aug 2013 09:53:25 -0600 [thread overview]
Message-ID: <52123F75.60500@mlbassoc.com> (raw)
In-Reply-To: <CAAVaN8zfs7_-fH7W0++xGFsa8CE1_POM5vzULMz5jNFqsP9Tzg@mail.gmail.com>
On 2013-08-17 23:42, Andy Ng wrote:
> 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?
Once again, with enthusiasm, you'll need to explain your complete build process for
anyone to be able to help you.
* What's your build host
* What version of Poky/Yocto are you using
* What is your target MACHINE
* What, if anything, have you added to local.conf
Without this kind of information, answers would be only guesses...
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
prev parent reply other threads:[~2013-08-19 15:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-18 5:42 file permissions Andy Ng
2013-08-19 15:53 ` Gary Thomas [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52123F75.60500@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.