Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 473198

Summary: dev-util/android-sdk-update-manager-22.0.1-r1 - android executable needs write permissions on /opt/android-sdk-update-manager
Product: Gentoo Linux Reporter: Nikita Kozlov <nikita>
Component: [OLD] DevelopmentAssignee: Richard Freeman <rich0>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: modify also the ${ANDROID_SDK_DIR} perms

Description Nikita Kozlov 2013-06-13 14:39:25 UTC
Hello,

after a fresh emerge, you won't be able to install the platform-tools package using the "android" binary.

You have an error becaude during the install process android will try to move the /opt/android-sdk-update-manager/platform-tools folder into /opt/android-sdk-update-manager/temp. (which is not possible with the current /opt/android-sdk-update-manager with 755 and root:root as owner:group).

I'm attaching a patch which fix the bug.





Reproducible: Always

Steps to Reproduce:
1.emerge android-sdk-update-manager-
2.gpasswd -a youruser android
3.relogin
4.launch android and try to install platform-tools
Comment 1 Nikita Kozlov 2013-06-13 14:41:04 UTC
Created attachment 350888 [details, diff]
modify also the ${ANDROID_SDK_DIR} perms
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-13 15:00:52 UTC
  13 Jun 2013; Richard Freeman <rich0@gentoo.org>
  android-sdk-update-manager-22.0.1-r1.ebuild:
  Permissions fix, 473198 - thanks to Nikita Kozlov for patch.