> > > is os.getuid() and os.getgid() the correct value you want to use? I > would expect root:root. > > 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.
Regards, Jagadeesh > > > > else: > > > > > shutil.copyfile(src, dst) > > > > > except Exception as e: > > > > > > > > > -- > > > > _______________________________________________ > > > > Openembedded-core mailing list > > > > Openembedded-core@lists.openembedded.org > > > > http://lists.openembedded.org/mailman/listinfo/openembedded-core > > > > > > -- > > > Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com > > > > > -- > Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com >
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core