<?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>4760</bug_id>
          
          <creation_ts>2013-06-21 10:29:48 +0000</creation_ts>
          <short_desc>adt-installer: installation failed when permission deny on the installation directory</short_desc>
          <delta_ts>2013-06-29 05:28:49 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>ADT</product>
          <component>adt</component>
          <version>1.5</version>
          <rep_platform>x86</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>1.5 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Hongxu Jia">hongxu.jia</reporter>
          <assigned_to name="Hongxu Jia">hongxu.jia</assigned_to>
          <cc>hongxu.jia</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>kai.kang</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>ning.zhang</cc>
    
    <cc>poky.adt.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>Qi.Chen</cc>
    
    <cc>sen.zhang</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>34042</commentid>
    <comment_count>0</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-06-21 10:29:48 +0000</bug_when>
    <thetext>* Env
Image location: http://autobuilder.yoctoproject.org/pub/nightly/20130521-1/
Branch: poky/master
Git rev: 176a46b088135f2891983bb8540bc45389341d90

* Problem
Steps:
1) Create an installation directory which the user has no right to access;
$ ls -al /buildarea/hongxujia/adt_20130621/adt-installer/rootdir
drwxr-xr-x. 2 root  root  4096 Jun 21 17:09 .
$ id
uid=500(build) gid=500(build) groups=500(build) context=unconfined_u:unconfined_r:unconfined_t
:s0-s0:c0.c1023

3) Run &quot;./adt_installer&quot; to install the adt to the previous dir;
The installation failed and got errors:
...
Updating opkg...
Collected errors:
 * opkg_conf_load: Could not create lock file /buildarea/hongxujia/adt_20130621/adt-installer/rootdir/
/var/lib/opkg/lock: No such file or directory.
opkg update process ended...
Installing pseudo nativesdk ...

Collected errors:
 * opkg_conf_load: Could not create lock file /buildarea/hongxujia/adt_20130621/adt-installer/rootdir/
/var/lib/opkg/lock: No such file or directory.
...

* Solution
Add sudo to fix this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34239</commentid>
    <comment_count>1</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-06-29 05:28:49 +0000</bug_when>
    <thetext>Merged into master:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b50d97cb4a5a950c39cfe395a28bd6071cfd15fb</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>