Commit | Line | Data |
---|---|---|
1479465f GJ |
1 | .\" dpkg manual page - dpkg-statoverride(1) |
2 | .\" | |
3 | .\" Copyright © 2000-2001 Wichert Akkerman <wakkerma@debian.org> | |
4 | .\" Copyright © 2009-2011, 2013, 2015 Guillem Jover <guillem@debian.org> | |
5 | .\" | |
6 | .\" This is free software; you can redistribute it and/or modify | |
7 | .\" it under the terms of the GNU General Public License as published by | |
8 | .\" the Free Software Foundation; either version 2 of the License, or | |
9 | .\" (at your option) any later version. | |
10 | .\" | |
11 | .\" This is distributed in the hope that it will be useful, | |
12 | .\" but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | .\" GNU General Public License for more details. | |
15 | .\" | |
16 | .\" You should have received a copy of the GNU General Public License | |
17 | .\" along with this program. If not, see <https://www.gnu.org/licenses/>. | |
18 | . | |
19 | .\"******************************************************************* | |
20 | .\" | |
21 | .\" This file was generated with po4a. Translate the source file. | |
22 | .\" | |
23 | .\"******************************************************************* | |
24 | .TH dpkg\-statoverride 1 %RELEASE_DATE% %VERSION% Dpkg\-sviten | |
25 | .nh | |
26 | .SH NAMN | |
27 | dpkg\-statoverride \- överstyr ägarskap och läge för filer | |
28 | . | |
29 | .SH SYNOPS | |
30 | \fBdpkg\-statoverride\fP [\fIflagga\fP...] \fIåtgärd\fP | |
31 | . | |
32 | .SH BESKRIVNING | |
33 | “\fBstat overrides\fP” are a way to tell \fBdpkg\fP(1) to use a different owner | |
34 | or mode for a path when a package is installed (this applies to any | |
35 | filesystem object that \fBdpkg\fP handles, including directories, devices, | |
36 | etc.). This can be used to force programs that are normally setuid to be | |
37 | install without a setuid flag, or only executable by a certain group. | |
38 | .P | |
39 | \fBdpkg\-statoverride\fP är ett verktyg för att hantera listan över | |
40 | stat\-överstyrningar. Det har tre grundläggande funktioner: lägga till, ta | |
41 | bort och visa överstyrningar. | |
42 | . | |
43 | .SH KOMMANDON | |
44 | .TP | |
45 | \fB\-\-add\fP\fI användare grupp läge sökväg\fP | |
46 | Add an override for \fIpath\fP. \fIpath\fP does not need to exist when this | |
47 | command is used; the override will be stored and used later. Users and | |
48 | groups can be specified by their name (for example \fBroot\fP or \fBnobody\fP), or | |
49 | by their number by prepending the number with a ‘\fB#\fP’ (for example \fB#0\fP or | |
50 | \fB#65534\fP). The \fImode\fP needs to be specified in octal. | |
51 | ||
52 | Om \fB\-\-update\fP anges och \fIsökväg\fP existerar kommer den omedelbart att | |
53 | sättas till den nya användaren och läget. | |
54 | .TP | |
55 | \fB\-\-remove\fP \fIsökväg\fP | |
56 | Ta bort en överstyrning för \fIfil\fP, status för \fIsökväg\fP ändras inte av | |
57 | detta kommando. | |
58 | .TP | |
59 | \fB\-\-list\fP [\fIfilnamnssökmönster\fP] | |
60 | List all overrides. If a glob pattern is specified restrict the output to | |
61 | overrides which match the glob. | |
62 | .TP | |
63 | \fB\-\-help\fP | |
64 | Visar hjälpskärm och avslutar. | |
65 | .TP | |
66 | \fB\-\-version\fP | |
67 | Visar version och avslutar. | |
68 | . | |
69 | .SH FLAGGOR | |
70 | .TP | |
71 | \fB\-\-admindir\fP\fI katalog\fP | |
72 | Ändra \fIkatalog\fP för \fBdpkg\fP\-databasen där statoverride\-filen också | |
73 | lagras. Förval är \fI%ADMINDIR%\fP. | |
74 | .TP | |
75 | \fB\-\-force\fP | |
76 | Tvinga ett kommando, även om en säkerhetskontroll annars skulle förhindra | |
77 | det. Detta behövs för att överstyra en befintlig överstyrning. | |
78 | .TP | |
79 | \fB\-\-update\fP | |
80 | Försök att omedelbart ändra \fIsökväg\fP,·om·den·finns, till den nya ägaren och | |
81 | läget. | |
82 | .TP | |
83 | \fB\-\-quiet\fP | |
84 | Var mindre pratsom om vad som görs. | |
85 | . | |
86 | .SH RETURVÄRDE | |
87 | .TP | |
88 | \fB0\fP | |
89 | Den önskade funktionen utfördes utan fel. | |
90 | .TP | |
91 | \fB1\fP | |
92 | For \fB\-\-list\fP, if there are no overrides or none match the supplied glob. | |
93 | .TP | |
94 | \fB2\fP | |
95 | Fatal or unrecoverable error due to invalid command\-line usage, or | |
96 | interactions with the system, such as accesses to the database, memory | |
97 | allocations, etc. | |
98 | . | |
99 | .SH MILJÖVARIABLER | |
100 | .TP | |
101 | \fBDPKG_ADMINDIR\fP | |
102 | Om satt, och flaggan \fB\-\-admindir\fP inte har angivits, används värdet som | |
103 | datakatalog för \fBdpkg\fP. | |
104 | . | |
105 | .SH FILER | |
106 | .TP | |
107 | \fI%ADMINDIR%/statoverride\fP | |
108 | File which contains the current list of stat overrides of the system. It is | |
109 | located in the \fBdpkg\fP administration directory, along with other files | |
110 | important to \fBdpkg\fP, such as \fIstatus\fP or \fIavailable\fP. | |
111 | .br | |
112 | Note: \fBdpkg\-statoverride\fP preserves the old copy of this file, with | |
113 | extension “\-old”, before replacing it with the new one. | |
114 | . | |
115 | .SH "SE ÄVEN" | |
116 | \fBdpkg\fP(1). | |
117 | .SH ÖVERSÄTTNING | |
118 | Peter Krefting och Daniel Nylander. |