[oe-commits] Phil Blundell : fs-perms.txt: Don't tinker with file modes in /usr/src/ debug
git at git.openembedded.org
git at git.openembedded.org
Fri May 3 15:15:07 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: 91b02c65d83811738d4c0e4b7c454459430c8b9b
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=91b02c65d83811738d4c0e4b7c454459430c8b9b
Author: Phil Blundell <pb at pbcl.net>
Date: Thu May 2 14:55:02 2013 +0100
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.
Signed-off-by: Phil Blundell <philb at gnu.org>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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 ef44e26..becb85c 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
${oldincludedir} 0755 root root true 0644 root root
# Cleanup debug src
-/usr/src/debug 0755 root root true 0644 root root
+/usr/src/debug 0755 root root true - root root
# Items from base-files
# Links
More information about the Openembedded-commits
mailing list