On 25 November 2015 at 14:58, Jagadeesh Krishnanjanappa <
jkrishnanjana...@mvista.com> wrote:

> Yes, since copy_license_files() function is executed within the pseudo
> environement (fakeroot), both os.getuid() and os.getgid() return 0, which
> resembles to uid and gid of root user. Also, os.chown accepts integer
> values for 2nd and 3rd arguments.
>

So is there any advantage to using os.getuid() over hardcoding 0:0? It's
not like root is going to have a different UID.

Ross
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to