[Buildroot] How to set file ownership prior to JFFS2 root filesystem generation
Baruch Siach
baruch at tkos.co.il
Wed Jun 9 02:58:39 UTC 2010
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 -
More information about the buildroot
mailing list