* [Buildroot] not quite out of the woods
@ 2012-03-15 20:51 Charles Krinke
2012-03-15 21:35 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Charles Krinke @ 2012-03-15 20:51 UTC (permalink / raw)
To: buildroot
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?
--
Charles Krinke
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] not quite out of the woods
2012-03-15 20:51 [Buildroot] not quite out of the woods Charles Krinke
@ 2012-03-15 21:35 ` Thomas Petazzoni
2012-03-15 22:09 ` Charles Krinke
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2012-03-15 21:35 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] not quite out of the woods
2012-03-15 21:35 ` Thomas Petazzoni
@ 2012-03-15 22:09 ` Charles Krinke
0 siblings, 0 replies; 3+ messages in thread
From: Charles Krinke @ 2012-03-15 22:09 UTC (permalink / raw)
To: buildroot
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@free-electrons.com> wrote:
> 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
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
Charles Krinke
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-03-15 22:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-15 20:51 [Buildroot] not quite out of the woods Charles Krinke
2012-03-15 21:35 ` Thomas Petazzoni
2012-03-15 22:09 ` Charles Krinke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox