From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] How to set file ownership prior to JFFS2 root filesystem generation
Date: Wed, 9 Jun 2010 05:58:39 +0300 [thread overview]
Message-ID: <20100609025839.GE2318@tarshish> (raw)
In-Reply-To: <8128F0FD6C26E14C8EB4BFDB92B8D6B201517E08@2putt.int.lantronix.com>
Hi Matthew,
On Tue, Jun 08, 2010 at 03:36:36PM -0700, Matthew Davison wrote:
> I would like to create a home directory on the target and set its
> ownership to the uid of a user that will also be present on the target.
> I've noticed that something like this is already happening for the
> /home/default directory, but I have been unable to determine how. In
> general, how do you set the ownership of a file prior to JFFS2 root
> filesystem generation?
To tweak ownership and permission of files and directories in the generated
filesystem you need to edit the relevant device_table file. For the generic
filesystem this is (currently) target/generic/device_table.txt.
baruch
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
prev parent reply other threads:[~2010-06-09 2:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-08 22:36 [Buildroot] How to set file ownership prior to JFFS2 root filesystem generation Matthew Davison
2010-06-09 2:58 ` Baruch Siach [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=20100609025839.GE2318@tarshish \
--to=baruch@tkos.co.il \
--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