dpkg (1.18.25) stretch; urgency=medium
[dpkg] / man / sv / dpkg-statoverride.man
CommitLineData
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
27dpkg\-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
34or mode for a path when a package is installed (this applies to any
35filesystem object that \fBdpkg\fP handles, including directories, devices,
36etc.). This can be used to force programs that are normally setuid to be
37install 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
40stat\-överstyrningar. Det har tre grundläggande funktioner: lägga till, ta
41bort och visa överstyrningar.
42.
43.SH KOMMANDON
44.TP
45\fB\-\-add\fP\fI användare grupp läge sökväg\fP
46Add an override for \fIpath\fP. \fIpath\fP does not need to exist when this
47command is used; the override will be stored and used later. Users and
48groups can be specified by their name (for example \fBroot\fP or \fBnobody\fP), or
49by 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
52Om \fB\-\-update\fP anges och \fIsökväg\fP existerar kommer den omedelbart att
53sättas till den nya användaren och läget.
54.TP
55\fB\-\-remove\fP \fIsökväg\fP
56Ta bort en överstyrning för \fIfil\fP, status för \fIsökväg\fP ändras inte av
57detta kommando.
58.TP
59\fB\-\-list\fP [\fIfilnamnssökmönster\fP]
60List all overrides. If a glob pattern is specified restrict the output to
61overrides which match the glob.
62.TP
63\fB\-\-help\fP
64Visar hjälpskärm och avslutar.
65.TP
66\fB\-\-version\fP
67Visar 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å
73lagras. Förval är \fI%ADMINDIR%\fP.
74.TP
75\fB\-\-force\fP
76Tvinga ett kommando, även om en säkerhetskontroll annars skulle förhindra
77det. Detta behövs för att överstyra en befintlig överstyrning.
78.TP
79\fB\-\-update\fP
80Försök att omedelbart ändra \fIsökväg\fP,·om·den·finns, till den nya ägaren och
81läget.
82.TP
83\fB\-\-quiet\fP
84Var mindre pratsom om vad som görs.
85.
86.SH RETURVÄRDE
87.TP
88\fB0\fP
89Den önskade funktionen utfördes utan fel.
90.TP
91\fB1\fP
92For \fB\-\-list\fP, if there are no overrides or none match the supplied glob.
93.TP
94\fB2\fP
95Fatal or unrecoverable error due to invalid command\-line usage, or
96interactions with the system, such as accesses to the database, memory
97allocations, etc.
98.
99.SH MILJÖVARIABLER
100.TP
101\fBDPKG_ADMINDIR\fP
102Om satt, och flaggan \fB\-\-admindir\fP inte har angivits, används värdet som
103datakatalog för \fBdpkg\fP.
104.
105.SH FILER
106.TP
107\fI%ADMINDIR%/statoverride\fP
108File which contains the current list of stat overrides of the system. It is
109located in the \fBdpkg\fP administration directory, along with other files
110important to \fBdpkg\fP, such as \fIstatus\fP or \fIavailable\fP.
111.br
112Note: \fBdpkg\-statoverride\fP preserves the old copy of this file, with
113extension “\-old”, before replacing it with the new one.
114.
115.SH "SE ÄVEN"
116\fBdpkg\fP(1).
117.SH ÖVERSÄTTNING
118Peter Krefting och Daniel Nylander.