.\" -*- 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 "Huhtikuu 2026" "GNU coreutils 9.11" "Käyttäjän sovellukset"
.SH NIMI
chown \- change file owner and group
.SH YLEISKATSAUS
\fBchown\fP [\fI\,VALITSIN\/\fP]... [\fI\,OMISTAJA\/\fP][\fI\,:\/\fP[\fI\,RYHMÄ\/\fP]]
\fI\,TIEDOSTO\/\fP...
.br
\fBchown\fP [\fI\,VALITSIN\/\fP]... \fI\,\-\-reference=RTIED TIEDOSTO\/\fP...
.SH KUVAUS
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 VALITSIMET
.PP
Vaihda kunkin TIEDOSTOn omistajaksi ja/tai ryhmäksi OMISTAJA ja/tai
RYHMÄ. Jos valitsin \fB\-\-reference\fP on annettu, vaihda kunkin TIEDOSTOn
omistajaksi ja ryhmäksi samat kuin VTIEDostolla.
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#chown\-c'\fB\-c, \-\-changes\fP\X'tty: link'
kuten monisanaisuus, mutta ilmoita vain tehdyt muutokset
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#chown\-f'\fB\-f, \-\-silent, \-\-quiet\fP\X'tty: link'
vaienna useimmat virheilmoitukset
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#chown\-v'\fB\-v, \-\-verbose\fP\X'tty: link'
näytä ilmoitus jokaisesta käsitellystä tiedostosta
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#chown\-\-dereference'\fB\-\-dereference\fP\X'tty: link'
vaikuttaa kunkin symbolisen linkin viitearvoon (tämä on oletus), eikä itse
symbolista linkkiä
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#chown\-h'\fB\-h, \-\-no\-dereference\fP\X'tty: link'
affect symbolic links instead of any referenced file; useful only on systems
that can change the ownership of a symlink
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#chown\-\-from'\fB\-\-from=CURRENT_OWNER:CURRENT_GROUP\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'
älä kohtele juurta (”/”) erityisesti (oletus)
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#chown\-\-preserve\-root'\fB\-\-preserve\-root\fP\X'tty: link'
estä rekursiivinen toiminta juuressa (”/”)
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#chown\-\-reference'\fB\-\-reference=VTIED\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'
käsittele tiedostot ja hakemistot rekursiivisesti
.PP
Seuraavat valitsimet määräävät, miten hakemistorakennetta käydään läpi, jos
valitsin \fB\-R\fP on annettu. Jos useampi kuin yksi seuraavista on annettu,
vain viimeinen on voimassa. \fB\-P\fP on oletusarvo.
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#chown\-H'\fB\-H\fP\X'tty: link'
jos komentoriviargumentti on symbolinen linkki hakemistoon, seuraa sitä
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#chown\-L'\fB\-L\fP\X'tty: link'
seuraa jokaista hakemistoon osoittavaa symbolista linkkiä
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#chown\-P'\fB\-P\fP\X'tty: link'
älä seuraa symbolisia linkkejä
.TP
\X'tty: link https://www.gnu.org/software/coreutils/chown#chown\-\-help'\fB\-\-help\fP\X'tty: link'
näytä tämä ohje ja poistu
.TP
\X'tty: link https://www.gnu.org/software/coreutils/chown#chown\-\-version'\fB\-\-version\fP\X'tty: link'
näytä versiotiedot ja poistu
.PP
Jos omistaja puuttuu, sitä ei muuteta. Jos ryhmä puuttuu, se muutetaan
kirjautumisryhmäksi siinä tapauksessa, että symbolisen OMISTAJAn perässä on
”:”. OMISTAJA ja RYHMÄ voivat olla joko numeerisia tai symbolisia.
.SH ESIMERKKEJÄ
.TP
chown root /u
Vaihda /u:n omistajaksi ”root”.
.TP
chown root:hlokunta /u
Sama kuin yllä, lisäksi ryhmäksi ”hlokunta”
.TP
chown \-hR root /u
Vaihda /u:n ja alitiedostojen omistajaksi ”root”.
.SH TEKIJÄ
Kirjoittaneet David MacKenzie ja Jim Meyering.
.SH "VIRHEISTÄ ILMOITTAMINEN"
Ilmoita ohjelmistovioista (englanniksi) osoitteeseen bug\-coreutils@gnu.org
.br
GNU coreutils\-kotisivu:
.br
Yleisohjeita GNU\-ohjelmistojen käyttöön:
.br
Ilmoita käännösvirheistä osoitteeseen
.SH TEKIJÄNOIKEUDET
Copyright \(co 2026 Free Software Foundation, Inc. Lisenssi GPLv3+: GNU GPL
versio 3 tai myöhempi .
.br
Tämä on vapaa ohjelmisto; sitä saa vapaasti muuttaa ja levittää
edelleen. Siinä määrin kuin laki sallii, TAKUUTA EI OLE.
.SH "KATSO MYÖS"
\fBchown\fP(2)
.PP
.br
Koko dokumentaatio:
.br
tai saatavilla paikallisesti: info \(aq(coreutils) chown invocation\(aq
.PP
.SH KÄÄNNÖS
Tämän käsikirjan suomenkielisen käännöksen tekivät
Jani Frilander
.
.PP
Tämä käännös on ilmainen dokumentaatio; katso tekijänoikeusehdot
.UR https://www.gnu.org/licenses/gpl-3.0.html
GNU General Public License -versiosta 3
.UE
tai uudemmasta. Emme ota vastuuta.