1 .\" dpkg manual page - dpkg-statoverride(1)
3 .\" Copyright © 2000-2001 Wichert Akkerman <wakkerma@debian.org>
4 .\" Copyright © 2009-2011, 2013, 2015 Guillem Jover <guillem@debian.org>
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.
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.
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/>.
19 .\"*******************************************************************
21 .\" This file was generated with po4a. Translate the source file.
23 .\"*******************************************************************
24 .TH dpkg\-statoverride 1 %RELEASE_DATE% %VERSION% Dpkg\-sviten
27 dpkg\-statoverride \- överstyr ägarskap och läge för filer
30 \fBdpkg\-statoverride\fP [\fIflagga\fP...] \fIåtgärd\fP
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.
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.
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.
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.
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
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.
64 Visar hjälpskärm och avslutar.
67 Visar version och avslutar.
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.
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.
80 Försök att omedelbart ändra \fIsökväg\fP,·om·den·finns, till den nya ägaren och
84 Var mindre pratsom om vad som görs.
89 Den önskade funktionen utfördes utan fel.
92 For \fB\-\-list\fP, if there are no overrides or none match the supplied glob.
95 Fatal or unrecoverable error due to invalid command\-line usage, or
96 interactions with the system, such as accesses to the database, memory
102 Om satt, och flaggan \fB\-\-admindir\fP inte har angivits, används värdet som
103 datakatalog för \fBdpkg\fP.
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.
112 Note: \fBdpkg\-statoverride\fP preserves the old copy of this file, with
113 extension “\-old”, before replacing it with the new one.
118 Peter Krefting och Daniel Nylander.