mirror of
https://git.yoctoproject.org/poky
synced 2026-03-06 15:29:40 +01:00
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 master rev: 91b02c65d83811738d4c0e4b7c454459430c8b9b)
(From OE-Core rev: e2733052c241d72104d47ba1bede19e3a2507218)
Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
69 lines
2.0 KiB
Plaintext
69 lines
2.0 KiB
Plaintext
# This file contains a list of files and directories with known permissions.
|
|
# It is used by the packaging class to ensure that the permissions, owners and
|
|
# group of listed files and directories are in sync across the system.
|
|
#
|
|
# The format of this file
|
|
#
|
|
#<path> <mode> <uid> <gid> <walk> <fmode> <fuid> <fgid>
|
|
#
|
|
# or
|
|
#
|
|
#<path> link <target>
|
|
#
|
|
# <path>: directory path
|
|
# <mode>: mode for directory
|
|
# <uid>: uid for directory
|
|
# <gid>: gid for directory
|
|
# <walk>: recursively walk the directory? true or false
|
|
# <fmode>: if walking, new mode for files
|
|
# <fuid>: if walking, new uid for files
|
|
# <fgid>: if walking, new gid for files
|
|
# <target>: turn the directory into a symlink point to target
|
|
#
|
|
# in mode, uid or gid, a "-" means don't change any existing values
|
|
#
|
|
# /usr/src 0755 root root false - - -
|
|
# /usr/share/man 0755 root root true 0644 root root
|
|
|
|
# Note: all standard config directories are automatically assigned "0755 root root false - - -"
|
|
|
|
# Documentation should always be corrected
|
|
${mandir} 0755 root root true 0644 root root
|
|
${infodir} 0755 root root true 0644 root root
|
|
${docdir} 0755 root root true 0644 root root
|
|
${datadir}/gtk-doc 0755 root root true 0644 root root
|
|
|
|
# Fixup locales
|
|
${datadir}/locale 0755 root root true 0644 root root
|
|
|
|
# Cleanup headers
|
|
${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 - root root
|
|
|
|
# Items from base-files
|
|
# Links
|
|
${localstatedir}/run link volatile/run
|
|
${localstatedir}/log link volatile/log
|
|
${localstatedir}/lock link volatile/lock
|
|
${localstatedir}/tmp link volatile/tmp
|
|
|
|
# Special permissions from base-files
|
|
# Set 1777
|
|
/tmp 01777 root root false - - -
|
|
${localstatedir}/volatile/lock 01777 root root false - - -
|
|
${localstatedir}/volatile/tmp 01777 root root false - - -
|
|
|
|
# Set 2775
|
|
/home 02755 root root false - - -
|
|
${prefix}/src 02755 root root false - - -
|
|
${localstatedir}/local 02755 root root false - - -
|
|
|
|
# Set 3755
|
|
/srv 0755 root root false - - -
|
|
|
|
# Set 4775
|
|
/var/mail 02755 root root false - - -
|