version 1 showing authors affecting page license.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
DPKG-STATOVERRIDE |
|
|
2 |
!!!DPKG-STATOVERRIDE |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
FILES |
|
|
8 |
SEE ALSO |
|
|
9 |
AUTHOR |
|
|
10 |
---- |
|
|
11 |
!!NAME |
|
|
12 |
|
|
|
13 |
|
|
|
14 |
dpkg-statoverride -- override ownership and mode of files |
|
|
15 |
!!SYNOPSIS |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
__dpkg-statoverride__ [[options] --add |
|
|
19 |
______ |
|
|
20 |
dpkg-statoverride__ [[options] --remove |
|
|
21 |
''''__ |
|
|
22 |
dpkg-statoverride__ [[options] --list |
|
|
23 |
''[['' |
|
|
24 |
!!DESCRIPTION |
|
|
25 |
|
|
|
26 |
|
|
|
27 |
`__stat overrides__' are a way to tell dpkg to use a |
|
|
28 |
different owner or mode for a file when a package is |
|
|
29 |
installed. (note: I use the word `file' here, but in reality |
|
|
30 |
this can be any filesystem object that dpkg handles, |
|
|
31 |
including directories, devices, etc.). This can be used to |
|
|
32 |
force programs that are normall setuid to be install without |
|
|
33 |
a setuid flag, or only executable by a certain |
|
|
34 |
group. |
|
|
35 |
|
|
|
36 |
|
|
|
37 |
__dpkg-statoverride__ is a utility to manage the list of |
|
|
38 |
stat overrides. It has three basic functions: adding, |
|
|
39 |
removing and listing overrides. |
|
|
40 |
!!OPTIONS |
|
|
41 |
|
|
|
42 |
|
|
|
43 |
''--add |
|
|
44 |
'' |
|
|
45 |
|
|
|
46 |
|
|
|
47 |
Add an override for ____. ____ |
|
|
48 |
does not need to exist when this command is used; the |
|
|
49 |
override will be stored and used later. Users and groups can |
|
|
50 |
be specified by their name (for example __root__ or |
|
|
51 |
__nobody__), or by their number by prepending the number |
|
|
52 |
with a `__#__' (for example __#0__ or |
|
|
53 |
__#65534__). |
|
|
54 |
|
|
|
55 |
|
|
|
56 |
''--remove '' |
|
|
57 |
|
|
|
58 |
|
|
|
59 |
Remove an override for ____. |
|
|
60 |
|
|
|
61 |
|
|
|
62 |
''--list [['' |
|
|
63 |
|
|
|
64 |
|
|
|
65 |
List all overrides. If a glob pattern is specified restrict |
|
|
66 |
the output to overrides which match the glob. If there are |
|
|
67 |
no overrides or none match the glob __dpkg-statoverride__ |
|
|
68 |
will exit with an exitcode of 1. |
|
|
69 |
|
|
|
70 |
|
|
|
71 |
''--force'' |
|
|
72 |
|
|
|
73 |
|
|
|
74 |
Force an action, even if a sanity check would otherwise |
|
|
75 |
prohibit it. This is necessary to override an existing |
|
|
76 |
override. |
|
|
77 |
|
|
|
78 |
|
|
|
79 |
''--update'' |
|
|
80 |
|
|
|
81 |
|
|
|
82 |
Immediately try to change the file to the new owner and mode |
|
|
83 |
if it exists. This is only done for |
|
|
84 |
''--add''. |
|
|
85 |
|
|
|
86 |
|
|
|
87 |
''--quiet'' |
|
|
88 |
|
|
|
89 |
|
|
|
90 |
Be less verbose about what we do. |
|
|
91 |
|
|
|
92 |
|
|
|
93 |
''--help'' |
|
|
94 |
|
|
|
95 |
|
|
|
96 |
Show version, copyright and usage information. |
|
|
97 |
|
|
|
98 |
|
|
|
99 |
''--admindir'' |
|
|
100 |
|
|
|
101 |
|
|
|
102 |
Change the directory of the dpkg database where the |
|
|
103 |
statoverride file is also stored. Defaults to |
|
|
104 |
/var/lib/dpkg. |
|
|
105 |
!!FILES |
|
|
106 |
|
|
|
107 |
|
|
|
108 |
''/var/lib/dpkg/statoverride'' |
|
|
109 |
|
|
|
110 |
|
|
|
111 |
File which contains the current list of stat overrides of |
|
|
112 |
the system. It is located in the dpkg administration |
|
|
113 |
directory, along with other files important to dpkg, such as |
|
|
114 |
`status' or `available'. |
|
|
115 |
Note: dpkg-statoverride preserves the old copy of this file, |
|
|
116 |
with extension |
|
|
117 |
!!SEE ALSO |
|
|
118 |
|
|
|
119 |
|
|
|
120 |
dpkg(8) |
|
|
121 |
!!AUTHOR |
|
|
122 |
|
|
|
123 |
|
|
|
124 |
Copyright 2000 Wichert Akkerman |
|
|
125 |
|
|
|
126 |
|
|
|
127 |
This is free software; see the GNU General Public Licence |
|
|
128 |
version 2 or later for copying conditions. There is NO |
|
|
129 |
warranty. |
|
|
130 |
---- |