Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 473198 - dev-util/android-sdk-update-manager-22.0.1-r1 - android executable needs write permissions on /opt/android-sdk-update-manager
Summary: dev-util/android-sdk-update-manager-22.0.1-r1 - android executable needs writ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Richard Freeman
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-06-13 14:39 UTC by Nikita Kozlov
Modified: 2013-06-13 15:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
modify also the ${ANDROID_SDK_DIR} perms (fix-platform-tools-perms.patch,1.10 KB, patch)
2013-06-13 14:41 UTC, Nikita Kozlov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.