[Buildroot] not quite out of the woods

Charles Krinke charles.krinke at gmail.com
Thu Mar 15 22:09:05 UTC 2012


Dear Thomas:

Before I distract you with the build log, I need to study this a bit
more. I think what may have happened is a "young turk" made some
changes in our buildroot on svn and I need to understand those
changes.

Charles

On Thu, Mar 15, 2012 at 2:35 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Hello,
>
> Le Thu, 15 Mar 2012 13:51:04 -0700,
> Charles Krinke <charles.krinke at 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
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot



-- 
Charles Krinke



More information about the buildroot mailing list