<?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>763</bug_id>
          
          <creation_ts>2011-02-23 21:32:34 +0000</creation_ts>
          <short_desc>not able to create .gdbinit due to permission denied</short_desc>
          <delta_ts>2011-02-28 11:04:31 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Eclipse Plugin</product>
          <component>eclipse-plugin</component>
          <version>1.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lianhao Lu">lianhao.lu</reporter>
          <assigned_to name="liping Ke">liping.ke</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>sgw</cc>
    
    <cc>yp.ep.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          <cf_verified>Program Management</cf_verified>
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>12031</commentid>
    <comment_count>0</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2011-02-23 21:32:34 +0000</bug_when>
    <thetext>org.yocto.sdk.ide.createRemoteDebugLauncher() will create a .gdbinit file under target sysroot. This would cause a permission denied issue when the sysroot is untarred from meta-toolchain, because now the /opt/poky is owned by root.

It&apos;d better to put the .gdbinit under project directory instead of the target sysroot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12033</commentid>
    <comment_count>1</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2011-02-23 22:01:44 +0000</bug_when>
    <thetext>



Use project root to store the debug configuration file. Current default toolchain location is not owned by a normal user.


Thanks a lot!
criping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12034</commentid>
    <comment_count>2</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2011-02-23 22:02:15 +0000</bug_when>
    <thetext>This bug should have been fixed by below changeset.


http://git.pokylinux.org/cgit/cgit.cgi/eclipse-poky/commit/?id=fb9b976d88544372c106e31c40f6093e396bbaf7</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12036</commentid>
    <comment_count>3</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2011-02-23 22:13:37 +0000</bug_when>
    <thetext>Verified that with the commit http://git.pokylinux.org/cgit/cgit.cgi/eclipse-poky/commit/?id=fb9b976d88544372c106e31c40f6093e396bbaf7, the .gdbinit file is created under the project directory.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>