Bug 13175 - license files on root file system might be unreadable by non-root users when using COPY_LIC_DIRS
Summary: license files on root file system might be unreadable by non-root users when ...
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: configuration (show other bugs)
Version: unspecified
Hardware: All Multiple
: Medium+ normal
Target Milestone: 2.7 M3
Assignee: Joshua Watt
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2019-02-13 16:12 UTC by Joshua Watt
Modified: 2019-02-20 22:09 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Watt 2019-02-13 16:12:20 UTC
In a similar vein to https://bugzilla.yoctoproject.org/show_bug.cgi?id=12961, the License files written by COPY_LIC_DIRS inherit the permissions from whatever the permissions happen to be in the recipe. If these permissions don't allow all other reads, the files are unreadable. Since we are already coercing the user, it seems reasonable to also coerce the permissions to be -rw-r--r-- when installing the files.
Comment 2 Joshua Watt 2019-02-20 22:09:10 UTC
Fix in oe-core: 8190d192fceb9b0969385507d3d4bca7be75c810