| Summary: | adt-installer uses wrong permissions when extracting the sysroot | ||
|---|---|---|---|
| Product: | [Yocto Project Subprojects] ADT | Reporter: | Alexandru Georgescu <alexandru.c.georgescu> |
| Component: | adt | Assignee: | Laurentiu Palcu <laurentiu.palcu> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | Medium+ | CC: | jessica.zhang, poky.adt.watcher, poky.watcher, yi.zhao |
| Version: | 1.5 | ||
| Target Milestone: | 1.5 M5 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Alexandru Georgescu
2013-09-24 12:49:58 UTC
I did more testing about this issue. The ownership for sysroot directory is same with adt-installer location's ownership. The adt-installer will inherit the ownership of its parent directory. So if the parent directory owner is root, the adt-installer and the sysroot also be installed with root. (In reply to comment #1) > I did more testing about this issue. The ownership for sysroot directory is > same with adt-installer location's ownership. The adt-installer will inherit > the ownership of its parent directory. So if the parent directory owner is > root, the adt-installer and the sysroot also be installed with root. Hi, When running the installer the user is asked for sudo passwd. Then with that user (superuser) the installer extracts the sysroot, therefore the root user in that folder. I have tested running as a normal user, and this behavior is consistent. Patch merged: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=1ffa203dd5cfc8c1b717ff3c7222eb3f0c21f5d5 verified. |