adb is installed with overly restrictive permissions

Bug #1102746 reported by Michael Hudson-Doyle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA Validation Lab
Fix Released
Medium
Andy Doan

Bug Description

This is OK:

mwhudson@staging:~$ sudo ls -ld /usr/local/android-sdk-linux/platform-tools/adb
-rwxrwxr-x 1 ubuntu ubuntu 159644 Apr 18 2012 /usr/local/android-sdk-linux/platform-tools/adb

But these are not:

mwhudson@staging:~$ sudo ls -ld /usr/local/android-sdk-linux/platform-tools/adb
-rwxrwxr-x 1 ubuntu ubuntu 159644 Apr 18 2012 /usr/local/android-sdk-linux/platform-tools/adb
mwhudson@staging:~$ sudo ls -ld /usr/local/android-sdk-linux/platform-tools
drwx------ 5 root root 4096 Jan 10 00:01 /usr/local/android-sdk-linux/platform-tools

maybe it's just the mode: changing bug I just filed, but maybe not... does the mode apply recursively?

Related branches

Revision history for this message
Andy Doan (doanac) wrote : Re: [Bug 1102746] [NEW] adb is installed with overly restrictive permissions

On 01/21/2013 09:51 PM, Michael Hudson-Doyle wrote:
> maybe it's just the mode: changing bug I just filed, but maybe not...
> does the mode apply recursively?

I think mode is just be enforced on the directory created. However,
user/group should be applied recursively.

Revision history for this message
Andy Doan (doanac) wrote :

actually - I think there's more to this, but I think i have a fix.

Revision history for this message
Andy Doan (doanac) wrote :

I think I've fixed this now. i've pushed the state everywhere except for control.

Changed in lava-lab:
importance: Undecided → Medium
milestone: none → 2013.01
status: New → In Progress
Andy Doan (doanac)
Changed in lava-lab:
assignee: nobody → Andy Doan (doanac)
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.