> > > 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 > > > > [email protected] > > > > http://lists.openembedded.org/mailman/listinfo/openembedded-core > > > > > > -- > > > Martin 'JaMa' Jansa jabber: [email protected] > > > > > -- > Martin 'JaMa' Jansa jabber: [email protected] >
-- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
