Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | # This file contains a list of files and directories with known permissions. |
| 2 | # It is used by the packaging class to ensure that the permissions, owners and |
| 3 | # group of listed files and directories are in sync across the system. |
| 4 | # |
| 5 | # The format of this file |
| 6 | # |
| 7 | #<path> <mode> <uid> <gid> <walk> <fmode> <fuid> <fgid> |
| 8 | # |
| 9 | # or |
| 10 | # |
| 11 | #<path> link <target> |
| 12 | # |
| 13 | # <path>: directory path |
| 14 | # <mode>: mode for directory |
| 15 | # <uid>: uid for directory |
| 16 | # <gid>: gid for directory |
| 17 | # <walk>: recursively walk the directory? true or false |
| 18 | # <fmode>: if walking, new mode for files |
| 19 | # <fuid>: if walking, new uid for files |
| 20 | # <fgid>: if walking, new gid for files |
| 21 | # <target>: turn the directory into a symlink point to target |
| 22 | # |
| 23 | # in mode, uid or gid, a "-" means don't change any existing values |
| 24 | # |
| 25 | # /usr/src 0755 root root false - - - |
| 26 | # /usr/share/man 0755 root root true 0644 root root |
| 27 | |
| 28 | # Note: all standard config directories are automatically assigned "0755 root root false - - -" |
| 29 | |
| 30 | # Documentation should always be corrected |
| 31 | ${mandir} 0755 root root true 0644 root root |
| 32 | ${infodir} 0755 root root true 0644 root root |
| 33 | ${docdir} 0755 root root true 0644 root root |
| 34 | ${datadir}/gtk-doc 0755 root root true 0644 root root |
| 35 | |
| 36 | # Fixup locales |
| 37 | ${datadir}/locale 0755 root root true 0644 root root |
| 38 | |
| 39 | # Cleanup headers |
| 40 | ${includedir} 0755 root root true 0644 root root |
| 41 | ${oldincludedir} 0755 root root true 0644 root root |
| 42 | |
| 43 | # Cleanup debug src |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 44 | /usr/src/debug 0755 root root true 0644 root root |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 45 | |
| 46 | # Items from base-files |
| 47 | # Links |
| 48 | ${localstatedir}/run link /run |
| 49 | ${localstatedir}/log link volatile/log |
| 50 | ${localstatedir}/lock link /run/lock |
| 51 | ${localstatedir}/tmp link volatile/tmp |
| 52 | |
| 53 | /home 0755 root root false - - - |
| 54 | /srv 0755 root root false - - - |
| 55 | ${prefix}/src 0755 root root false - - - |
| 56 | ${localstatedir}/local 0755 root root false - - - |
| 57 | |
| 58 | # Special permissions from base-files |
| 59 | # Set 1777 |
| 60 | /tmp 01777 root root false - - - |
| 61 | ${localstatedir}/volatile/tmp 01777 root root false - - - |
| 62 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 63 | # Set 0700 |
| 64 | ${ROOT_HOME} 0700 root root false - - - |
| 65 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 66 | # Set 2775-lsb |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 67 | ${localstatedir}/mail 02775 root mail false - - - |