Re: [yocto] changing ownership of a file in a package

2016-07-25 Thread Gary Thomas
On 2016-07-25 16:07, piotr.lewicki wrote: Thank you. I will try this, but I wonder what is the right way of dealing with that when I want to change the ownership of let's say 2 files from different packages to a user that I create? Is using "useradd" possible in 2 separate recipes (to create

Re: [yocto] changing ownership of a file in a package

2016-07-25 Thread piotr.lewicki
Thank you. I will try this, but I wonder what is the right way of dealing with that when I want to change the ownership of let's say 2 files from different packages to a user that I create? Is using "useradd" possible in 2 separate recipes (to create the same user)? Thanks, Piotr On

Re: [yocto] changing ownership of a file in a package

2016-07-25 Thread Leonardo Sandoval
As a workaround, have you tried using the other class to include users (useradd)? Look at the 'note' of this section http://www.yoctoproject.org/docs/2.1/ref-manual/ref-manual.html#ref-classes-extrausers Leo El 07/25/2016 a las 07:22 AM, piotr.lewicki escribió: Hi, I have a package where I

[yocto] changing ownership of a file in a package

2016-07-25 Thread piotr.lewicki
Hi, I have a package where I want to install some files into a home directory of a user "testuser". I create a user in my image bb file using "extrausers". My problem is that I'm unable to change ownership of those files from root to the testuser. Simple "chown testuser:testuser -R