.\" -*- coding: UTF-8 -*- .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1. .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH CHOWN 1 "April 2026" "GNU coreutils 9.11" Brukerkommandoer .SH NAVN chown \- change file owner and group .SH OVERSIKT \fBchown\fP [\fI\,VALG\/\fP]... [\fI\,EIER\/\fP][\fI\,:\/\fP[\fI\,GRUPPE\/\fP]] \fI\,FIL\/\fP... .br \fBchown\fP [\fI\,VALG\/\fP]... \fI\,\-\-reference=RFIL FIL\/\fP... .SH BESKRIVELSE This manual page documents the GNU version of \fBchown\fP. \fBchown\fP changes the user and/or group ownership of each given file. If only an owner (a user name or numeric user ID) is given, that user is made the owner of each given file, and the files' group is not changed. If the owner is followed by a colon and a group name (or numeric group ID), with no spaces between them, the group ownership of the files is changed as well. If a colon but no group name follows the user name, that user is made the owner of the files and the group of the files is changed to that user's login group. If the colon and group are given, but the owner is omitted, only the group of the files is changed; in this case, \fBchown\fP performs the same function as \fBchgrp\fP. If only a colon is given, or if the entire operand is empty, neither the owner nor the group is changed. .SH VALG .PP Endre eieren og/eller gruppetilhørigheten for hver FIL til EIER og/eller GRUPPE. Bruk \fB\-\-reference\fP for å endre eier og gruppetilhørighet for FILene i henhold til RFIL. .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#chown\-c'\fB\-c, \-\-changes\fP\X'tty: link' Tilsvarer \fB\-\-verbose\fP, men rapporterer kun endringer. .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#chown\-f'\fB\-f, \-\-silent, \-\-quiet\fP\X'tty: link' La være å skrive ut de fleste typer feilmeldinger. .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#chown\-v'\fB\-v, \-\-verbose\fP\X'tty: link' Skriv ut diagnostikk for behandlede filer. .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#chown\-\-dereference'\fB\-\-dereference\fP\X'tty: link' Endre lenkemål i stedet for symbolske lenker (standard). .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#chown\-h'\fB\-h, \-\-no\-dereference\fP\X'tty: link' Endre symbolske lenker i stedet for lenkemål (dette er bare nyttig på systemer som kan endre eierskap til symbolske lenker). .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#chown\-\-from'\fB\-\-from=\fP\fIGJELDENDE_EIER\/\fP\fB:\fP\fIGJELDENDE_GRUPPE\fP\X'tty: link' change the ownership of each file only if its current owner and/or group match those specified here. Either may be omitted, in which case a match is not required for the omitted attribute .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#chown\-\-no\-preserve\-root'\fB\-\-no\-preserve\-root\fP\X'tty: link' Ikke gi «/» spesialbehandling (standard). .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#chown\-\-preserve\-root'\fB\-\-preserve\-root\fP\X'tty: link' Avvis rekursiv behandling på stien «/». .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#chown\-\-reference'\fB\-\-reference=\fP\fIRFIL\fP\X'tty: link' use RFILE's ownership rather than specifying values. RFILE is always dereferenced if a symbolic link. .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#chown\-R'\fB\-R, \-\-recursive\fP\X'tty: link' Behandle filer og mapper rekursivt. .PP The following options modify how a hierarchy is traversed when the \fB\-R\fP option is also specified. If more than one is specified, only the final one takes effect. \fB\-P\fP is the default. .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#chown\-H'\fB\-H\fP\X'tty: link' Hvis et argument er en symbolsk lenke som peker på en mappe, skal mappa gjennomgås. .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#chown\-L'\fB\-L\fP\X'tty: link' Gå gjennom hver symbolske lenke som dukker opp, og som peker på en mappe. .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#chown\-P'\fB\-P\fP\X'tty: link' Ikke gå gjennom symbolske lenkemål. .TP \X'tty: link https://www.gnu.org/software/coreutils/chown#chown\-\-help'\fB\-\-help\fP\X'tty: link' Vis denne hjelpeteksten og avslutt. .TP \X'tty: link https://www.gnu.org/software/coreutils/chown#chown\-\-version'\fB\-\-version\fP\X'tty: link' Vis versjonsinformasjon og avslutt. .PP Eier forblir uendret hvis dette mangler. Det samme gjelder gruppetilhørighet, men sistnevnte endres til innloggingsgruppe hvis det impliseres av et «:» og deretter en symbolsk EIER. Både EIER and GRUPPE kan angis med tall\- eller symbolverdier. .SH EKSEMPLER .TP chown root /u Endrer eierskapet på mappa «/u» til brukeren «root». .TP chown root:stab /u Som over, men endrer også gruppeeierskapet til gruppa «stab». .TP chown \-hR root /u Endre eierskapet på mappa «/u», og alle filer og mapper inni «/u», til brukeren «root». .SH FORFATTER Skrevet av David MacKenzie og Jim Meyering. .SH "RAPPORTERING AV FEIL" Rapporter feil til: bug\-coreutils@gnu.org .br Nettside for GNU coreutils: .br Generell hjelp til bruk av GNU\-programvare: .br Rapporter oversettelsesfeil til .SH OPPHAVSRETT Copyright \(co 2026 Free Software Foundation, Inc. Lisens GPLv3+: GNU GPL versjon 3 eller senere . .br Dette er fri programvare. Du kan endre og dele den videre. Det stilles INGEN GARANTI, i den grad dette tillates av gjeldende lovverk. .SH "SE OGSÅ" \fBchown\fP(2) .PP .br Fullstendig dokumentasjon: .br eller lokalt: info \(aq(coreutils) chown invocation\(aq .PP .SH OVERSETTELSE Den norske oversettelsen av denne manualsiden er laget av . .PP Denne oversettelsen er gratis dokumentasjon; se .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License versjon 3 .UE eller senere for opphavsrettsvilkår. Vi påtar oss INGEN ANSVAR. .PP Hvis du finner feil i oversettelsen av denne håndboksiden, vennligst send en e-post til .