<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>12961</bug_id>
          
          <creation_ts>2018-10-16 13:04:59 +0000</creation_ts>
          <short_desc>Files from COPY_LIC_DIRS have wrong owner on target</short_desc>
          <delta_ts>2018-11-24 00:09:19 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>deployment</component>
          <version>2.4.5</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.7</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ernst Persson">ernstp</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>81864</commentid>
    <comment_count>0</comment_count>
    <who name="Ernst Persson">ernstp</who>
    <bug_when>2018-10-16 13:04:59 +0000</bug_when>
    <thetext>The files installed on the target image by COPY_LIC_DIRS are owned by my local user that doesn&apos;t exist on target.
Looks like some missing fakeroot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81865</commentid>
    <comment_count>1</comment_count>
    <who name="Ernst Persson">ernstp</who>
    <bug_when>2018-10-16 13:10:48 +0000</bug_when>
    <thetext>For example the file
/usr/share/common-licenses/systemd/recipeinfo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81890</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-10-17 12:20:17 +0000</bug_when>
    <thetext>Had a quick look at this: the code is using os.link to get files into the rootfs *from the deploy dir* which is why the ownership is wrong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82312</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2018-11-24 00:09:19 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=0577d02faecb0f76045863c33598edc426ee9534</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>