aboutsummaryrefslogtreecommitdiffstats
path: root/meta/files/fs-perms.txt
blob: ef44e26e9504e53e0f3b02b6120737f4d68e7319 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# 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	0644	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 - - -