diff options
author | Phil Blundell <pb@pbcl.net> | 2013-05-02 14:55:02 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-03 16:19:20 +0100 |
commit | 53276bc7243fbb8d667b5a6c4a2c16d8f6861aed (patch) | |
tree | 3bbfaaf84a62c022baf2474f38aa4d8027cfcd6e | |
parent | 3dedd8f72c94c375541210e56f5f40ec2a2f8d47 (diff) | |
download | poky-53276bc7243fbb8d667b5a6c4a2c16d8f6861aed.tar.gz |
fs-perms.txt: Don't tinker with file modes in /usr/src/debug
Since 6775feb9fe935ab01fd9cae2b2d3fce5824a9a72 our local "copy" of the
debug sources has in fact been hardlinked to ${S} and potentially other
places too. This means that any modifications we make to these files
might have wider consequences than intended.
Avoid this potential pitfall by telling fixup_perms() to leave the file
modes in this directory alone. No great harm will result from shipping
debug sources with a mode other than 0644: if the mode was permissive
enough for us to compile the sources in the first place then it must
also be permissive enough for subsequent debugging.
(From OE-Core rev: 91b02c65d83811738d4c0e4b7c454459430c8b9b)
Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/files/fs-perms.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/files/fs-perms.txt b/meta/files/fs-perms.txt index ef44e26e95..becb85c8cb 100644 --- a/meta/files/fs-perms.txt +++ b/meta/files/fs-perms.txt | |||
@@ -41,7 +41,7 @@ ${includedir} 0755 root root true 0644 root root | |||
41 | ${oldincludedir} 0755 root root true 0644 root root | 41 | ${oldincludedir} 0755 root root true 0644 root root |
42 | 42 | ||
43 | # Cleanup debug src | 43 | # Cleanup debug src |
44 | /usr/src/debug 0755 root root true 0644 root root | 44 | /usr/src/debug 0755 root root true - root root |
45 | 45 | ||
46 | # Items from base-files | 46 | # Items from base-files |
47 | # Links | 47 | # Links |