Re: [yocto] Wrong file's ownership in rootfs.

2018-05-11 Thread Uwe Geuder
Hi! On Fri, May 11, 2018 at 2:42 PM, Grzegorz Mierzejewski wrote: > Hello all, > > I have the following problem concerning the file's ownership. > In my recipe I install the new file to rootfs and change it's ownership in > do_install function: > do_install () { >

[yocto] Wrong file's ownership in rootfs.

2018-05-11 Thread Grzegorz Mierzejewski
Hello all, I have the following problem concerning the files ownership. In my recipe I install the new file to rootfs and change its ownership in do_install function: do_install () {     install -p -m 644 file1 ${D}/     chmod 777 ${D}/file1     chown ${USER_DUMMY} ${D}/file1 }