From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] not quite out of the woods
Date: Thu, 15 Mar 2012 22:35:06 +0100 [thread overview]
Message-ID: <20120315223506.68aef527@skate> (raw)
In-Reply-To: <CALo-6+gc0yqMrCee1VJrPbw5LGfGOcwbVERPtm3UvGGSwH3ZgA@mail.gmail.com>
Hello,
Le Thu, 15 Mar 2012 13:51:04 -0700,
Charles Krinke <charles.krinke@gmail.com> a ?crit :
> In working through my vsftpd.conf issue, I checked files into svn, did
> an update, clean build and loaded onto the MPC8321 target.
>
> But, .... now the files in /etc are now owned by "default" of the
> group "default" and not owned by "root" of the group "root".
>
> Is there somewhere in device_table.txt or some other file that I need
> to change to ensure the owner and group of files added to /etc in
> skeleton are correct?
By default, all the files should be owned by root in the filesystem
image generated by Buildroot.
See the line
echo "chown -R 0:0 $(TARGET_DIR)" >> $(FAKEROOT_SCRIPT)
in fs/common.mk.
You can further tweak the permissions and ownership with the device
table, but having files owned by root is definitely the default
behaviour. Can you post your complete build log somewhere (on some
pastebin site)?
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2012-03-15 21:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-15 20:51 [Buildroot] not quite out of the woods Charles Krinke
2012-03-15 21:35 ` Thomas Petazzoni [this message]
2012-03-15 22:09 ` Charles Krinke
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=20120315223506.68aef527@skate \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox