Bug 763 - not able to create .gdbinit due to permission denied
Summary: not able to create .gdbinit due to permission denied
Status: VERIFIED FIXED
Alias: None
Product: Eclipse Plugin
Classification: Yocto Project Subprojects
Component: eclipse-plugin (show other bugs)
Version: 1.0
Hardware: x86 Multiple
: Undecided major
Target Milestone: ---
Assignee: liping Ke
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-02-23 21:32 UTC by Lianhao Lu
Modified: 2011-02-28 11:04 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified: Program Management
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lianhao Lu 2011-02-23 21:32:34 UTC
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'd better to put the .gdbinit under project directory instead of the target sysroot.
Comment 1 liping Ke 2011-02-23 22:01:44 UTC



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


Thanks a lot!
criping
Comment 2 liping Ke 2011-02-23 22:02:15 UTC
This bug should have been fixed by below changeset.


http://git.pokylinux.org/cgit/cgit.cgi/eclipse-poky/commit/?id=fb9b976d88544372c106e31c40f6093e396bbaf7
Comment 3 Lianhao Lu 2011-02-23 22:13:37 UTC
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.