| 1 |
# Russian translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Azamat Hackimov <[email protected]>, 2014. |
| 5 |
# Dmitriy S. Seregin <[email protected]>, 2013. |
| 6 |
# Dmitry Bolkhovskikh <[email protected]>, 2017. |
| 7 |
# Katrin Kutepova <[email protected]>, 2018. |
| 8 |
# Yuri Kozlov <[email protected]>, 2011-2019. |
| 9 |
# Иван Павлов <[email protected]>, 2017. |
| 10 |
msgid "" |
| 11 |
msgstr "" |
| 12 |
"Project-Id-Version: manpages-l10n\n" |
| 13 |
"POT-Creation-Date: 2026-06-05 06:20+0200\n" |
| 14 |
"PO-Revision-Date: 2024-12-21 19:49+0300\n" |
| 15 |
"Last-Translator: Yuri Kozlov <[email protected]>\n" |
| 16 |
"Language-Team: Russian <[email protected]>\n" |
| 17 |
"Language: ru\n" |
| 18 |
"MIME-Version: 1.0\n" |
| 19 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 20 |
"Content-Transfer-Encoding: 8bit\n" |
| 21 |
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " |
| 22 |
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " |
| 23 |
"(n%100>=11 && n%100<=14)? 2 : 3);\n" |
| 24 |
"X-Generator: Lokalize 2.0\n" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 28 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 29 |
#, no-wrap |
| 30 |
msgid "chown" |
| 31 |
msgstr "chown" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 35 |
#: opensuse-tumbleweed |
| 36 |
#, no-wrap |
| 37 |
msgid "2026-02-08" |
| 38 |
msgstr "8 февраля 2026 г." |
| 39 |
|
| 40 |
#. type: TH |
| 41 |
#: archlinux debian-unstable |
| 42 |
#, fuzzy, no-wrap |
| 43 |
#| msgid "Linux man-pages 6.17" |
| 44 |
msgid "Linux man-pages 6.18" |
| 45 |
msgstr "Справочные страницы Linux 6.17" |
| 46 |
|
| 47 |
#. type: SH |
| 48 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 49 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 50 |
#, no-wrap |
| 51 |
msgid "NAME" |
| 52 |
msgstr "НАИМЕНОВАНИЕ" |
| 53 |
|
| 54 |
#. type: Plain text |
| 55 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 56 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 57 |
msgid "chown, fchown, lchown, fchownat - change ownership of a file" |
| 58 |
msgstr "chown, fchown, lchown, fchownat - изменяет владельца файла" |
| 59 |
|
| 60 |
#. type: SH |
| 61 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 62 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
#, no-wrap |
| 64 |
msgid "LIBRARY" |
| 65 |
msgstr "БИБЛИОТЕКА" |
| 66 |
|
| 67 |
#. type: Plain text |
| 68 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 69 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 70 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 71 |
msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)" |
| 72 |
|
| 73 |
#. type: SH |
| 74 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 75 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
#, no-wrap |
| 77 |
msgid "SYNOPSIS" |
| 78 |
msgstr "СИНТАКСИС" |
| 79 |
|
| 80 |
#. type: Plain text |
| 81 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 82 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 83 |
#, no-wrap |
| 84 |
msgid "B<#include E<lt>unistd.hE<gt>>\n" |
| 85 |
msgstr "B<#include E<lt>unistd.hE<gt>>\n" |
| 86 |
|
| 87 |
#. type: Plain text |
| 88 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 89 |
#: opensuse-tumbleweed |
| 90 |
#, fuzzy, no-wrap |
| 91 |
#| msgid "" |
| 92 |
#| "B<int chown(const char *>I<pathname>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n" |
| 93 |
#| "B<int fchown(int >I<fd>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n" |
| 94 |
#| "B<int lchown(const char *>I<pathname>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n" |
| 95 |
msgid "" |
| 96 |
"B<int chown(const char *>I<path>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n" |
| 97 |
"B<int fchown(int >I<fd>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n" |
| 98 |
"B<int lchown(const char *>I<path>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n" |
| 99 |
msgstr "" |
| 100 |
"B<int chown(const char *>I<pathname>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n" |
| 101 |
"B<int fchown(int >I<fd>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n" |
| 102 |
"B<int lchown(const char *>I<pathname>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n" |
| 103 |
|
| 104 |
#. type: Plain text |
| 105 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 106 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 107 |
#, no-wrap |
| 108 |
msgid "" |
| 109 |
"B<#include E<lt>fcntl.hE<gt> >/* Definition of AT_* constants */\n" |
| 110 |
"B<#include E<lt>unistd.hE<gt>>\n" |
| 111 |
msgstr "" |
| 112 |
"B<#include E<lt>fcntl.hE<gt> >/* определения констант of AT_* */\n" |
| 113 |
"B<#include E<lt>unistd.hE<gt>>\n" |
| 114 |
|
| 115 |
#. type: Plain text |
| 116 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 117 |
#: opensuse-tumbleweed |
| 118 |
#, fuzzy, no-wrap |
| 119 |
#| msgid "" |
| 120 |
#| "B<int fchownat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n" |
| 121 |
#| "B< uid_t >I<owner>B<, gid_t >I<group>B<, int >I<flags>B<);>\n" |
| 122 |
msgid "" |
| 123 |
"B<int fchownat(int >I<dirfd>B<, const char *>I<path>B<,>\n" |
| 124 |
"B< uid_t >I<owner>B<, gid_t >I<group>B<, int >I<flags>B<);>\n" |
| 125 |
msgstr "" |
| 126 |
"B<int fchownat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n" |
| 127 |
"B< uid_t >I<owner>B<, gid_t >I<group>B<, int >I<flags>B<);>\n" |
| 128 |
|
| 129 |
#. type: Plain text |
| 130 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 131 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 132 |
msgid "" |
| 133 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 134 |
msgstr "" |
| 135 |
"Требования макроса тестирования свойств для glibc (см. " |
| 136 |
"B<feature_test_macros>(7)):" |
| 137 |
|
| 138 |
#. type: Plain text |
| 139 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 140 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 141 |
msgid "B<fchown>(), B<lchown>():" |
| 142 |
msgstr "B<fchown>(), B<lchown>():" |
| 143 |
|
| 144 |
#. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED |
| 145 |
#. type: Plain text |
| 146 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 147 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 148 |
#, no-wrap |
| 149 |
msgid "" |
| 150 |
" /* Since glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 151 |
" || _XOPEN_SOURCE E<gt>= 500\n" |
| 152 |
" || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n" |
| 153 |
msgstr "" |
| 154 |
" /* Наичная с glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 155 |
" || _XOPEN_SOURCE E<gt>= 500\n" |
| 156 |
" || /* Glibc E<lt>= 2.19: */ _BSD_SOURCE\n" |
| 157 |
|
| 158 |
#. type: Plain text |
| 159 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 160 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 161 |
msgid "B<fchownat>():" |
| 162 |
msgstr "B<fchownat>():" |
| 163 |
|
| 164 |
#. type: Plain text |
| 165 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 166 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 167 |
#, no-wrap |
| 168 |
msgid "" |
| 169 |
" Since glibc 2.10:\n" |
| 170 |
" _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 171 |
" Before glibc 2.10:\n" |
| 172 |
" _ATFILE_SOURCE\n" |
| 173 |
msgstr "" |
| 174 |
" Начиная с glibc 2.10:\n" |
| 175 |
" _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 176 |
" До glibc 2.10:\n" |
| 177 |
" _ATFILE_SOURCE\n" |
| 178 |
|
| 179 |
#. type: SH |
| 180 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 181 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 182 |
#, no-wrap |
| 183 |
msgid "DESCRIPTION" |
| 184 |
msgstr "ОПИСАНИЕ" |
| 185 |
|
| 186 |
#. type: Plain text |
| 187 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 188 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 189 |
msgid "" |
| 190 |
"These system calls change the owner and group of a file. The B<chown>(), " |
| 191 |
"B<fchown>(), and B<lchown>() system calls differ only in how the file is " |
| 192 |
"specified:" |
| 193 |
msgstr "" |
| 194 |
"Данные системные вызовы изменяют владельца и группу для файла. Системные " |
| 195 |
"вызовы B<chown>(), B<fchown>() и B<lchown>() отличаются только в том, каким " |
| 196 |
"образом задается файл:" |
| 197 |
|
| 198 |
#. type: IP |
| 199 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 200 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 201 |
#, no-wrap |
| 202 |
msgid "\\[bu]" |
| 203 |
msgstr "\\[bu]" |
| 204 |
|
| 205 |
#. type: Plain text |
| 206 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 207 |
#: opensuse-tumbleweed |
| 208 |
#, fuzzy |
| 209 |
#| msgid "" |
| 210 |
#| "B<chown>() changes the ownership of the file specified by I<pathname>, " |
| 211 |
#| "which is dereferenced if it is a symbolic link." |
| 212 |
msgid "" |
| 213 |
"B<chown>() changes the ownership of the file specified by I<path>, which is " |
| 214 |
"dereferenced if it is a symbolic link." |
| 215 |
msgstr "" |
| 216 |
"B<chown>() изменяет владельца для файла, задаваемого параметром I<pathname>, " |
| 217 |
"который разыменовывается, если является символьной ссылкой." |
| 218 |
|
| 219 |
#. type: Plain text |
| 220 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 221 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 222 |
msgid "" |
| 223 |
"B<fchown>() changes the ownership of the file referred to by the open file " |
| 224 |
"descriptor I<fd>." |
| 225 |
msgstr "" |
| 226 |
"B<fchown>() изменяет владельца для файла, задаваемого открытым файловым " |
| 227 |
"дескриптором I<fd>." |
| 228 |
|
| 229 |
#. type: Plain text |
| 230 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 231 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 232 |
msgid "" |
| 233 |
"B<lchown>() is like B<chown>(), but does not dereference symbolic links." |
| 234 |
msgstr "" |
| 235 |
"B<lchown>() похож на B<chown>() за исключением того, что он не " |
| 236 |
"разыменовывает символьные ссылки." |
| 237 |
|
| 238 |
#. type: Plain text |
| 239 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 240 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 241 |
msgid "" |
| 242 |
"Only a privileged process (Linux: one with the B<CAP_CHOWN> capability) may " |
| 243 |
"change the owner of a file. The owner of a file may change the group of the " |
| 244 |
"file to any group of which that owner is a member. A privileged process " |
| 245 |
"(Linux: with B<CAP_CHOWN>) may change the group arbitrarily." |
| 246 |
msgstr "" |
| 247 |
"Только привилегированный процесс (Linux: имеющий мандат B<CAP_CHOWN>) может " |
| 248 |
"сменить владельца файла. Владелец файла может сменить группу файла на любую " |
| 249 |
"группу, в которой он числится. Привилегированный процесс (Linux: с " |
| 250 |
"B<CAP_CHOWN>) может задавать произвольную группу." |
| 251 |
|
| 252 |
#. type: Plain text |
| 253 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 254 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 255 |
msgid "" |
| 256 |
"If the I<owner> or I<group> is specified as -1, then that ID is not changed." |
| 257 |
msgstr "" |
| 258 |
"Если параметр I<owner> или I<group> равен -1, то соответствующий " |
| 259 |
"идентификатор не изменяется." |
| 260 |
|
| 261 |
#. In Linux 2.0 kernels, superuser was like everyone else |
| 262 |
#. In Linux 2.2, up to Linux 2.2.12, these bits were not cleared for superuser. |
| 263 |
#. Since Linux 2.2.13, superuser is once more like everyone else. |
| 264 |
#. type: Plain text |
| 265 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 266 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 267 |
msgid "" |
| 268 |
"When the owner or group of an executable file is changed by an unprivileged " |
| 269 |
"user, the B<S_ISUID> and B<S_ISGID> mode bits are cleared. POSIX does not " |
| 270 |
"specify whether this also should happen when root does the B<chown>(); the " |
| 271 |
"Linux behavior depends on the kernel version, and since Linux 2.2.13, root " |
| 272 |
"is treated like other users. In case of a non-group-executable file (i.e., " |
| 273 |
"one for which the B<S_IXGRP> bit is not set) the B<S_ISGID> bit indicates " |
| 274 |
"mandatory locking, and is not cleared by a B<chown>()." |
| 275 |
msgstr "" |
| 276 |
"Когда владелец или группа исполняемого файла изменяется непривилегированным " |
| 277 |
"пользователем, то биты режима B<S_ISUID> и B<S_ISGID> сбрасываются В POSIX " |
| 278 |
"не указано, должно ли это происходить если B<chown>() выполняется " |
| 279 |
"суперпользователем; поведение в Linux зависит от версии ядра и начиная с " |
| 280 |
"Linux 2.2.13, root рассматривается как обычный пользователь. В случае " |
| 281 |
"исполняемого файла вне группы (т. е., у которого не установлен бит " |
| 282 |
"B<S_IXGRP>) бит B<S_ISGID> указывает на обязательную блокировку, и не " |
| 283 |
"сбрасывается при выполнении B<chown>()." |
| 284 |
|
| 285 |
#. type: Plain text |
| 286 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 287 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 288 |
msgid "" |
| 289 |
"When the owner or group of an executable file is changed (by any user), all " |
| 290 |
"capability sets for the file are cleared." |
| 291 |
msgstr "" |
| 292 |
"Когда владелец или группа исполняемого файла изменяется (любым " |
| 293 |
"пользователем), то все наборы мандатов файла очищаются." |
| 294 |
|
| 295 |
#. type: SS |
| 296 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 297 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 298 |
#, no-wrap |
| 299 |
msgid "fchownat()" |
| 300 |
msgstr "fchownat()" |
| 301 |
|
| 302 |
#. type: Plain text |
| 303 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 304 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 305 |
msgid "" |
| 306 |
"The B<fchownat>() system call operates in exactly the same way as " |
| 307 |
"B<chown>(), except for the differences described here." |
| 308 |
msgstr "" |
| 309 |
"Системный вызов B<fchownat>() работает также как системный вызов B<chown>(), " |
| 310 |
"за исключением случаев, описанных здесь." |
| 311 |
|
| 312 |
#. type: Plain text |
| 313 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 314 |
#: opensuse-tumbleweed |
| 315 |
#, fuzzy |
| 316 |
#| msgid "" |
| 317 |
#| "If the pathname given in I<pathname> is relative, then it is interpreted " |
| 318 |
#| "relative to the directory referred to by the file descriptor I<dirfd> " |
| 319 |
#| "(rather than relative to the current working directory of the calling " |
| 320 |
#| "process, as is done by B<chown>() for a relative pathname)." |
| 321 |
msgid "" |
| 322 |
"If I<path> is relative, then it is interpreted relative to the directory " |
| 323 |
"referred to by the file descriptor I<dirfd> (rather than relative to the " |
| 324 |
"current working directory of the calling process, as is done by B<chown>() " |
| 325 |
"for a relative pathname)." |
| 326 |
msgstr "" |
| 327 |
"Если в I<pathname> задан относительный путь, то он считается относительно " |
| 328 |
"каталога, на который ссылается файловый дескриптор I<dirfd> (а не " |
| 329 |
"относительно текущего рабочего каталога вызывающего процесса, как это " |
| 330 |
"делается в B<chown>())." |
| 331 |
|
| 332 |
#. type: Plain text |
| 333 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 334 |
#: opensuse-tumbleweed |
| 335 |
#, fuzzy |
| 336 |
#| msgid "" |
| 337 |
#| "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, " |
| 338 |
#| "then I<pathname> is interpreted relative to the current working directory " |
| 339 |
#| "of the calling process (like B<chown>())." |
| 340 |
msgid "" |
| 341 |
"If I<path> is relative and I<dirfd> is the special value B<AT_FDCWD>, then " |
| 342 |
"I<path> is interpreted relative to the current working directory of the " |
| 343 |
"calling process (like B<chown>())." |
| 344 |
msgstr "" |
| 345 |
"Если в I<pathname> задан относительный путь и I<dirfd> равно специальному " |
| 346 |
"значению B<AT_FDCWD>, то I<pathname> рассматривается относительно текущего " |
| 347 |
"рабочего каталога вызывающего процесса (как B<chown>())." |
| 348 |
|
| 349 |
#. type: Plain text |
| 350 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 351 |
#: opensuse-tumbleweed |
| 352 |
#, fuzzy |
| 353 |
#| msgid "If I<pathname> is absolute, then I<dirfd> is ignored." |
| 354 |
msgid "If I<path> is absolute, then I<dirfd> is ignored." |
| 355 |
msgstr "Если в I<pathname> задан абсолютный путь, то I<dirfd> игнорируется." |
| 356 |
|
| 357 |
#. type: Plain text |
| 358 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 359 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 360 |
msgid "" |
| 361 |
"The I<flags> argument is a bit mask created by ORing together 0 or more of " |
| 362 |
"the following values;" |
| 363 |
msgstr "" |
| 364 |
"Аргумент I<flags> представляет собой битовую маску, создаваемую побитовым " |
| 365 |
"сложением (OR) следующих значений;" |
| 366 |
|
| 367 |
#. type: TP |
| 368 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 369 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 370 |
#, no-wrap |
| 371 |
msgid "B<AT_EMPTY_PATH> (since Linux 2.6.39)" |
| 372 |
msgstr "B<AT_EMPTY_PATH> (начиная с Linux 2.6.39)" |
| 373 |
|
| 374 |
#. commit 65cfc6722361570bfe255698d9cd4dccaf47570d |
| 375 |
#. Before glibc 2.16, defining _ATFILE_SOURCE sufficed |
| 376 |
#. type: Plain text |
| 377 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 378 |
#: opensuse-tumbleweed |
| 379 |
#, fuzzy |
| 380 |
#| msgid "" |
| 381 |
#| "If I<pathname> is an empty string, operate on the file referred to by " |
| 382 |
#| "I<dirfd> (which may have been obtained using the B<open>(2) B<O_PATH> " |
| 383 |
#| "flag). In this case, I<dirfd> can refer to any type of file, not just a " |
| 384 |
#| "directory. If I<dirfd> is B<AT_FDCWD>, the call operates on the current " |
| 385 |
#| "working directory. This flag is Linux-specific; define B<_GNU_SOURCE> to " |
| 386 |
#| "obtain its definition." |
| 387 |
msgid "" |
| 388 |
"If I<path> is an empty string, operate on the file referred to by I<dirfd> " |
| 389 |
"(which may have been obtained using the B<open>(2) B<O_PATH> flag). In " |
| 390 |
"this case, I<dirfd> can refer to any type of file, not just a directory. If " |
| 391 |
"I<dirfd> is B<AT_FDCWD>, the call operates on the current working " |
| 392 |
"directory. This flag is Linux-specific; define B<_GNU_SOURCE> to obtain its " |
| 393 |
"definition." |
| 394 |
msgstr "" |
| 395 |
"Если значение I<pathname> равно пустой строке, то выполнять действие над " |
| 396 |
"файлом, на который указывает I<dirfd> (который может быть получен с помощью " |
| 397 |
"B<open>(2) с флагом B<O_PATH>). В этом случае, I<dirfd> может указывать на " |
| 398 |
"файл любого типа, а не только на каталог. Если I<dirfd> равно B<AT_FDCWD>, " |
| 399 |
"то вызов выполняет действие над текущим рабочим каталогом. Этот флаг есть " |
| 400 |
"только в Linux; для получения его определения определите B<_GNU_SOURCE>." |
| 401 |
|
| 402 |
#. type: TP |
| 403 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 404 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 405 |
#, no-wrap |
| 406 |
msgid "B<AT_SYMLINK_NOFOLLOW>" |
| 407 |
msgstr "B<AT_SYMLINK_NOFOLLOW>" |
| 408 |
|
| 409 |
#. type: Plain text |
| 410 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 411 |
#: opensuse-tumbleweed |
| 412 |
#, fuzzy |
| 413 |
#| msgid "" |
| 414 |
#| "If I<pathname> is a symbolic link, do not dereference it: instead operate " |
| 415 |
#| "on the link itself, like B<lchown>(). (By default, B<fchownat>() " |
| 416 |
#| "dereferences symbolic links, like B<chown>().)" |
| 417 |
msgid "" |
| 418 |
"If I<path> is a symbolic link, do not dereference it: instead operate on the " |
| 419 |
"link itself, like B<lchown>(). (By default, B<fchownat>() dereferences " |
| 420 |
"symbolic links, like B<chown>().)" |
| 421 |
msgstr "" |
| 422 |
"Если значение I<pathname> является символьной ссылкой, не разыменовывать её, " |
| 423 |
"а изменить владельца самой ссылки, как это делается в B<lchown>() (по " |
| 424 |
"умолчанию, B<fchownat>() разыменовывает символьные ссылки как и B<chown>())." |
| 425 |
|
| 426 |
#. type: Plain text |
| 427 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 428 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 429 |
msgid "See B<openat>(2) for an explanation of the need for B<fchownat>()." |
| 430 |
msgstr "Смотрите в B<openat>(2) объяснение необходимости B<fchownat>()." |
| 431 |
|
| 432 |
#. type: SH |
| 433 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 434 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 435 |
#, no-wrap |
| 436 |
msgid "RETURN VALUE" |
| 437 |
msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ" |
| 438 |
|
| 439 |
#. type: Plain text |
| 440 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 441 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 442 |
msgid "" |
| 443 |
"On success, zero is returned. On error, -1 is returned, and I<errno> is set " |
| 444 |
"to indicate the error." |
| 445 |
msgstr "" |
| 446 |
"При успешном выполнении возвращается 0. При ошибке возвращается -1, а в " |
| 447 |
"I<errno> содержится код ошибки." |
| 448 |
|
| 449 |
#. type: SH |
| 450 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 451 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 452 |
#, no-wrap |
| 453 |
msgid "ERRORS" |
| 454 |
msgstr "ОШИБКИ" |
| 455 |
|
| 456 |
#. type: Plain text |
| 457 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 458 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 459 |
msgid "" |
| 460 |
"Depending on the filesystem, errors other than those listed below can be " |
| 461 |
"returned." |
| 462 |
msgstr "" |
| 463 |
"В зависимости от файловой системы могут также возвращаться другие ошибки, " |
| 464 |
"перечисленные далее." |
| 465 |
|
| 466 |
#. type: Plain text |
| 467 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 468 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 469 |
msgid "The more general errors for B<chown>() are listed below." |
| 470 |
msgstr "Наиболее распространённые ошибки B<chown>() перечислены далее." |
| 471 |
|
| 472 |
#. type: TP |
| 473 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 474 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 475 |
#, no-wrap |
| 476 |
msgid "B<EACCES>" |
| 477 |
msgstr "B<EACCES>" |
| 478 |
|
| 479 |
#. type: Plain text |
| 480 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 481 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 482 |
msgid "" |
| 483 |
"Search permission is denied on a component of the path prefix. (See also " |
| 484 |
"B<path_resolution>(7).)" |
| 485 |
msgstr "" |
| 486 |
"Поиск запрещён из-за одного из частей префикса пути (См. также " |
| 487 |
"B<path_resolution>(7).)" |
| 488 |
|
| 489 |
#. type: TP |
| 490 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 491 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 492 |
#, no-wrap |
| 493 |
msgid "B<EBADF>" |
| 494 |
msgstr "B<EBADF>" |
| 495 |
|
| 496 |
#. type: Plain text |
| 497 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 498 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 499 |
msgid "(B<fchown>()) I<fd> is not a valid open file descriptor." |
| 500 |
msgstr "" |
| 501 |
"(B<fchown>()) Значение I<fd> не является правильным открытым файловым " |
| 502 |
"дескриптором." |
| 503 |
|
| 504 |
#. type: Plain text |
| 505 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 506 |
#: opensuse-tumbleweed |
| 507 |
#, fuzzy |
| 508 |
#| msgid "" |
| 509 |
#| "(B<fchownat>()) I<pathname> is relative but I<dirfd> is neither " |
| 510 |
#| "B<AT_FDCWD> nor a valid file descriptor." |
| 511 |
msgid "" |
| 512 |
"(B<fchownat>()) I<path> is relative but I<dirfd> is neither B<AT_FDCWD> nor " |
| 513 |
"a valid file descriptor." |
| 514 |
msgstr "" |
| 515 |
"(B<fchownat>()) I<pathname> является относительным, но I<dirfd> не является " |
| 516 |
"ни B<AT_FDCWD>, ни действительным файловым дескриптором." |
| 517 |
|
| 518 |
#. type: TP |
| 519 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 520 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 521 |
#, no-wrap |
| 522 |
msgid "B<EFAULT>" |
| 523 |
msgstr "B<EFAULT>" |
| 524 |
|
| 525 |
#. type: Plain text |
| 526 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 527 |
#: opensuse-tumbleweed |
| 528 |
msgid "I<path> points outside your accessible address space." |
| 529 |
msgstr "" |
| 530 |
"Аргумент I<path> указывает за пределы доступного адресного пространства." |
| 531 |
|
| 532 |
#. type: TP |
| 533 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 534 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 535 |
#, no-wrap |
| 536 |
msgid "B<EINVAL>" |
| 537 |
msgstr "B<EINVAL>" |
| 538 |
|
| 539 |
#. type: Plain text |
| 540 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 541 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 542 |
msgid "(B<fchownat>()) Invalid flag specified in I<flags>." |
| 543 |
msgstr "(B<fchownat>()) Указано неверное значение в I<flags>." |
| 544 |
|
| 545 |
#. type: TP |
| 546 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 547 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 548 |
#, no-wrap |
| 549 |
msgid "B<EIO>" |
| 550 |
msgstr "B<EIO>" |
| 551 |
|
| 552 |
#. type: Plain text |
| 553 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 554 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 555 |
msgid "" |
| 556 |
"(B<fchown>()) A low-level I/O error occurred while modifying the inode." |
| 557 |
msgstr "" |
| 558 |
"(B<fchown>()) Во время изменения индексного дескриптора (inode) возникла " |
| 559 |
"низкоуровневая ошибка ввода/вывода." |
| 560 |
|
| 561 |
#. type: TP |
| 562 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 563 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 564 |
#, no-wrap |
| 565 |
msgid "B<ELOOP>" |
| 566 |
msgstr "B<ELOOP>" |
| 567 |
|
| 568 |
#. type: Plain text |
| 569 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 570 |
#: opensuse-tumbleweed |
| 571 |
msgid "Too many symbolic links were encountered in resolving I<path>." |
| 572 |
msgstr "" |
| 573 |
"Во время определения I<path> встретилось слишком много символьных ссылок." |
| 574 |
|
| 575 |
#. type: TP |
| 576 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 577 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 578 |
#, no-wrap |
| 579 |
msgid "B<ENAMETOOLONG>" |
| 580 |
msgstr "B<ENAMETOOLONG>" |
| 581 |
|
| 582 |
#. type: Plain text |
| 583 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 584 |
#: opensuse-tumbleweed |
| 585 |
msgid "I<path> is too long." |
| 586 |
msgstr "I<path> слишком длинен." |
| 587 |
|
| 588 |
#. type: TP |
| 589 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 590 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 591 |
#, no-wrap |
| 592 |
msgid "B<ENOENT>" |
| 593 |
msgstr "B<ENOENT>" |
| 594 |
|
| 595 |
#. type: Plain text |
| 596 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 597 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 598 |
msgid "The file does not exist." |
| 599 |
msgstr "Файл не существует." |
| 600 |
|
| 601 |
#. type: TP |
| 602 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 603 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 604 |
#, no-wrap |
| 605 |
msgid "B<ENOMEM>" |
| 606 |
msgstr "B<ENOMEM>" |
| 607 |
|
| 608 |
#. type: Plain text |
| 609 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 610 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 611 |
msgid "Insufficient kernel memory was available." |
| 612 |
msgstr "Недостаточное количество памяти ядра." |
| 613 |
|
| 614 |
#. type: TP |
| 615 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 616 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 617 |
#, no-wrap |
| 618 |
msgid "B<ENOTDIR>" |
| 619 |
msgstr "B<ENOTDIR>" |
| 620 |
|
| 621 |
#. type: Plain text |
| 622 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 623 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 624 |
msgid "A component of the path prefix is not a directory." |
| 625 |
msgstr "Компонент в префиксе пути не является каталогом." |
| 626 |
|
| 627 |
#. type: Plain text |
| 628 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 629 |
#: opensuse-tumbleweed |
| 630 |
#, fuzzy |
| 631 |
#| msgid "" |
| 632 |
#| "(B<fchownat>()) I<pathname> is relative and I<dirfd> is a file " |
| 633 |
#| "descriptor referring to a file other than a directory." |
| 634 |
msgid "" |
| 635 |
"(B<fchownat>()) I<path> is relative and I<dirfd> is a file descriptor " |
| 636 |
"referring to a file other than a directory." |
| 637 |
msgstr "" |
| 638 |
"(B<fchownat>()) Значение I<pathname> содержит относительный путь и I<dirfd> " |
| 639 |
"содержит файловый дескриптор, указывающий на файл, а не на каталог." |
| 640 |
|
| 641 |
#. type: TP |
| 642 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 643 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 644 |
#, no-wrap |
| 645 |
msgid "B<EPERM>" |
| 646 |
msgstr "B<EPERM>" |
| 647 |
|
| 648 |
#. type: Plain text |
| 649 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 650 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 651 |
msgid "" |
| 652 |
"The calling process did not have the required permissions (see above) to " |
| 653 |
"change owner and/or group." |
| 654 |
msgstr "" |
| 655 |
"Вызывающий процесс не имеет требуемых прав (см. выше), чтобы изменять " |
| 656 |
"владельца и/или группу." |
| 657 |
|
| 658 |
#. type: Plain text |
| 659 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 660 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 661 |
msgid "" |
| 662 |
"The file is marked immutable or append-only. (See " |
| 663 |
"B<FS_IOC_SETFLAGS>(2const).)" |
| 664 |
msgstr "" |
| 665 |
"Файл помечен как неизменяемый (immutable) или только для добавления " |
| 666 |
"(смотрите B<FS_IOC_SETFLAGS>(2const))." |
| 667 |
|
| 668 |
#. type: TP |
| 669 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 670 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 671 |
#, no-wrap |
| 672 |
msgid "B<EROFS>" |
| 673 |
msgstr "B<EROFS>" |
| 674 |
|
| 675 |
#. type: Plain text |
| 676 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 677 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 678 |
msgid "The named file resides on a read-only filesystem." |
| 679 |
msgstr "" |
| 680 |
"Указанный файл находится на файловой системе, смонтированной только для " |
| 681 |
"чтения." |
| 682 |
|
| 683 |
#. type: SH |
| 684 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 685 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 686 |
#, no-wrap |
| 687 |
msgid "VERSIONS" |
| 688 |
msgstr "ВЕРСИИ" |
| 689 |
|
| 690 |
#. chown(): |
| 691 |
#. SVr4 documents EINVAL, EINTR, ENOLINK and EMULTIHOP returns, but no |
| 692 |
#. ENOMEM. POSIX.1 does not document ENOMEM or ELOOP error conditions. |
| 693 |
#. fchown(): |
| 694 |
#. SVr4 documents additional EINVAL, EIO, EINTR, and ENOLINK |
| 695 |
#. error conditions. |
| 696 |
#. type: Plain text |
| 697 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 698 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 699 |
msgid "" |
| 700 |
"The 4.4BSD version can be used only by the superuser (that is, ordinary " |
| 701 |
"users cannot give away files)." |
| 702 |
msgstr "" |
| 703 |
"Версия из 4.4BSD может использоваться только суперпользователем (то есть, " |
| 704 |
"обычные пользователи не могут менять владельцев)." |
| 705 |
|
| 706 |
#. type: SH |
| 707 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 708 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 709 |
#, no-wrap |
| 710 |
msgid "STANDARDS" |
| 711 |
msgstr "СТАНДАРТЫ" |
| 712 |
|
| 713 |
#. type: Plain text |
| 714 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 715 |
#: opensuse-tumbleweed |
| 716 |
msgid "POSIX.1-2024." |
| 717 |
msgstr "POSIX.1-2024." |
| 718 |
|
| 719 |
#. type: SH |
| 720 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 721 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 722 |
#, no-wrap |
| 723 |
msgid "HISTORY" |
| 724 |
msgstr "ИСТОРИЯ" |
| 725 |
|
| 726 |
#. type: TP |
| 727 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 728 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 729 |
#, no-wrap |
| 730 |
msgid "B<chown>()" |
| 731 |
msgstr "B<chown>()" |
| 732 |
|
| 733 |
#. type: Plain text |
| 734 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 735 |
#: opensuse-tumbleweed |
| 736 |
#, fuzzy |
| 737 |
#| msgid "POSIX.1-2001, 4.4BSD." |
| 738 |
msgid "SVr4, POSIX.1-1988, 4.4BSD." |
| 739 |
msgstr "POSIX.1-2001, 4.4BSD." |
| 740 |
|
| 741 |
#. #-#-#-#-# archlinux: chown.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 742 |
#. type: TP |
| 743 |
#. #-#-#-#-# debian-trixie: chown.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 744 |
#. type: TQ |
| 745 |
#. #-#-#-#-# debian-unstable: chown.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 746 |
#. type: TP |
| 747 |
#. #-#-#-#-# fedora-44: chown.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 748 |
#. type: TQ |
| 749 |
#. #-#-#-#-# fedora-rawhide: chown.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 750 |
#. type: TQ |
| 751 |
#. #-#-#-#-# mageia-cauldron: chown.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 752 |
#. type: TP |
| 753 |
#. #-#-#-#-# opensuse-leap-16-1: chown.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 754 |
#. type: TP |
| 755 |
#. #-#-#-#-# opensuse-tumbleweed: chown.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 756 |
#. type: TP |
| 757 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 758 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 759 |
#, no-wrap |
| 760 |
msgid "B<fchown>()" |
| 761 |
msgstr "B<fchown>()" |
| 762 |
|
| 763 |
#. type: Plain text |
| 764 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 765 |
#: opensuse-tumbleweed |
| 766 |
#, fuzzy |
| 767 |
#| msgid "SVr4, 4.3BSD, POSIX.1-2001." |
| 768 |
msgid "SVr4, 4.4BSD, SUSv1, POSIX.1-2001." |
| 769 |
msgstr "SVr4, 4.3BSD, POSIX.1-2001." |
| 770 |
|
| 771 |
#. #-#-#-#-# archlinux: chown.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 772 |
#. type: TP |
| 773 |
#. #-#-#-#-# debian-trixie: chown.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 774 |
#. type: TQ |
| 775 |
#. #-#-#-#-# debian-unstable: chown.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 776 |
#. type: TP |
| 777 |
#. #-#-#-#-# fedora-44: chown.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 778 |
#. type: TQ |
| 779 |
#. #-#-#-#-# fedora-rawhide: chown.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 780 |
#. type: TQ |
| 781 |
#. #-#-#-#-# mageia-cauldron: chown.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 782 |
#. type: TP |
| 783 |
#. #-#-#-#-# opensuse-leap-16-1: chown.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 784 |
#. type: TP |
| 785 |
#. #-#-#-#-# opensuse-tumbleweed: chown.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 786 |
#. type: TP |
| 787 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 788 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 789 |
#, no-wrap |
| 790 |
msgid "B<lchown>()" |
| 791 |
msgstr "B<lchown>()" |
| 792 |
|
| 793 |
#. type: Plain text |
| 794 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 795 |
#: opensuse-tumbleweed |
| 796 |
#, fuzzy |
| 797 |
#| msgid "SVr4, 4.3BSD, C89, POSIX.1-2001." |
| 798 |
msgid "SVr4, 4.4BSD, SUSv1, POSIX.1-2001 XSI, POSIX.1-2008." |
| 799 |
msgstr "SVr4, 4.3BSD, C89, POSIX.1-2001." |
| 800 |
|
| 801 |
#. type: TP |
| 802 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 803 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 804 |
#, no-wrap |
| 805 |
msgid "B<fchownat>()" |
| 806 |
msgstr "B<fchownat>()" |
| 807 |
|
| 808 |
#. type: Plain text |
| 809 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 810 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 811 |
msgid "POSIX.1-2008. Linux 2.6.16, glibc 2.4." |
| 812 |
msgstr "POSIX.1-2008. Linux 2.6.16, glibc 2.4." |
| 813 |
|
| 814 |
#. type: SH |
| 815 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 816 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 817 |
#, no-wrap |
| 818 |
msgid "NOTES" |
| 819 |
msgstr "ПРИМЕЧАНИЯ" |
| 820 |
|
| 821 |
#. type: SS |
| 822 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 823 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 824 |
#, no-wrap |
| 825 |
msgid "Ownership of new files" |
| 826 |
msgstr "Назначение владельца новых файлов" |
| 827 |
|
| 828 |
#. type: Plain text |
| 829 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 830 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 831 |
msgid "" |
| 832 |
"When a new file is created (by, for example, B<open>(2) or B<mkdir>(2)), " |
| 833 |
"its owner is made the same as the filesystem user ID of the creating " |
| 834 |
"process. The group of the file depends on a range of factors, including the " |
| 835 |
"type of filesystem, the options used to mount the filesystem, and whether or " |
| 836 |
"not the set-group-ID mode bit is enabled on the parent directory. If the " |
| 837 |
"filesystem supports the B<-o\\ grpid> (or, synonymously B<-o\\ bsdgroups>) " |
| 838 |
"and B<-o\\ nogrpid> (or, synonymously B<-o\\ sysvgroups>) B<mount>(8) " |
| 839 |
"options, then the rules are as follows:" |
| 840 |
msgstr "" |
| 841 |
"При создании нового файла (например, с помощью B<open>(2) или B<mkdir>(2)), " |
| 842 |
"его владельцем будет установлен ID пользователя из файловой системы " |
| 843 |
"создающего процесса. Группа файла зависит от нескольких факторов, включая " |
| 844 |
"тип файловой системы, параметры монтирования и установлен ли бит режима set-" |
| 845 |
"group-ID на родительском каталоге. Если файловая система поддерживает " |
| 846 |
"параметры B<mount>(8) B<-o\\ grpid> (тоже что и B<-o\\ bsdgroups>) и B<-o\\ " |
| 847 |
"nogrpid> (тоже что и B<-o\\ sysvgroups>), то правила следующие:" |
| 848 |
|
| 849 |
#. type: Plain text |
| 850 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 851 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 852 |
msgid "" |
| 853 |
"If the filesystem is mounted with B<-o\\ grpid>, then the group of a new " |
| 854 |
"file is made the same as that of the parent directory." |
| 855 |
msgstr "" |
| 856 |
"Если файловая система смонтирована с параметром B<-o\\ grpid>, то группой " |
| 857 |
"нового файла будет группа родительского каталога." |
| 858 |
|
| 859 |
#. type: Plain text |
| 860 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 861 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 862 |
msgid "" |
| 863 |
"If the filesystem is mounted with B<-o\\ nogrpid> and the set-group-ID bit " |
| 864 |
"is disabled on the parent directory, then the group of a new file is made " |
| 865 |
"the same as the process's filesystem GID." |
| 866 |
msgstr "" |
| 867 |
"Если файловая система смонтирована с параметром B<-o\\ nogrpid> и у " |
| 868 |
"родительского каталога нет бита set-group-ID, то группой нового файла будет " |
| 869 |
"GID файловой системы того же процесса." |
| 870 |
|
| 871 |
#. type: Plain text |
| 872 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 873 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 874 |
msgid "" |
| 875 |
"If the filesystem is mounted with B<-o\\ nogrpid> and the set-group-ID bit " |
| 876 |
"is enabled on the parent directory, then the group of a new file is made the " |
| 877 |
"same as that of the parent directory." |
| 878 |
msgstr "" |
| 879 |
"Если файловая система смонтирована с параметром B<-o\\ nogrpid> и на " |
| 880 |
"родительском каталоге установлен бит set-group-ID, то группой нового файла " |
| 881 |
"будет группа родительского каталога." |
| 882 |
|
| 883 |
#. type: Plain text |
| 884 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 885 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 886 |
msgid "" |
| 887 |
"As at Linux 4.12, the B<-o\\ grpid> and B<-o\\ nogrpid> mount options are " |
| 888 |
"supported by ext2, ext3, ext4, and XFS. Filesystems that don't support " |
| 889 |
"these mount options follow the B<-o\\ nogrpid> rules." |
| 890 |
msgstr "" |
| 891 |
"Начиная с Linux 4.12, параметры монтирования B<-o\\ grpid> и B<-o\\ nogrpid> " |
| 892 |
"поддерживаются для ext2, ext3, ext4 и XFS. Для файловых систем, не " |
| 893 |
"поддерживающих эти параметры монтирования, используются правила как для B<-" |
| 894 |
"o\\ nogrpid>." |
| 895 |
|
| 896 |
#. type: SS |
| 897 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 898 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 899 |
#, no-wrap |
| 900 |
msgid "glibc notes" |
| 901 |
msgstr "Замечания по glibc" |
| 902 |
|
| 903 |
#. type: Plain text |
| 904 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 905 |
#: opensuse-tumbleweed |
| 906 |
#, fuzzy |
| 907 |
#| msgid "" |
| 908 |
#| "On older kernels where B<fchownat>() is unavailable, the glibc wrapper " |
| 909 |
#| "function falls back to the use of B<chown>() and B<lchown>(). When " |
| 910 |
#| "I<pathname> is a relative pathname, glibc constructs a pathname based on " |
| 911 |
#| "the symbolic link in I</proc/self/fd> that corresponds to the I<dirfd> " |
| 912 |
#| "argument." |
| 913 |
msgid "" |
| 914 |
"On older kernels where B<fchownat>() is unavailable, the glibc wrapper " |
| 915 |
"function falls back to the use of B<chown>() and B<lchown>(). When I<path> " |
| 916 |
"is relative, glibc constructs a pathname based on the symbolic link in I</" |
| 917 |
"proc/self/fd> that corresponds to the I<dirfd> argument." |
| 918 |
msgstr "" |
| 919 |
"В старых ядрах, где B<fchownat>() отсутствует, обёрточная функция glibc " |
| 920 |
"использует B<chown>() или B<lchown>(). Если I<pathname> является " |
| 921 |
"относительным путём, то glibc собирает путь относительно символической " |
| 922 |
"ссылки в I</proc/self/fd>, которая соответствует аргументу I<dirfd>." |
| 923 |
|
| 924 |
#. type: SS |
| 925 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 926 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 927 |
#, no-wrap |
| 928 |
msgid "NFS" |
| 929 |
msgstr "NFS" |
| 930 |
|
| 931 |
#. type: Plain text |
| 932 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 933 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 934 |
msgid "" |
| 935 |
"The B<chown>() semantics are deliberately violated on NFS filesystems which " |
| 936 |
"have UID mapping enabled. Additionally, the semantics of all system calls " |
| 937 |
"which access the file contents are violated, because B<chown>() may cause " |
| 938 |
"immediate access revocation on already open files. Client side caching may " |
| 939 |
"lead to a delay between the time where ownership have been changed to allow " |
| 940 |
"access for a user and the time where the file can actually be accessed by " |
| 941 |
"the user on other clients." |
| 942 |
msgstr "" |
| 943 |
"Семантика B<chown>() сознательно нарушается в файловых системах NFS, в " |
| 944 |
"которых включено отображение UID. Также, нарушается семантика всех системных " |
| 945 |
"вызовов, которые обеспечивают доступ к содержимому файлов, так как " |
| 946 |
"B<chown>() может привести к немедленному отзыву доступа к уже открытым " |
| 947 |
"файлам. Кэширование на клиентской стороне может привести к задержке между " |
| 948 |
"сменой доступа пользователю и временем, когда файл действительно станет " |
| 949 |
"доступным." |
| 950 |
|
| 951 |
#. type: SS |
| 952 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 953 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 954 |
#, no-wrap |
| 955 |
msgid "Historical details" |
| 956 |
msgstr "Историческая справка" |
| 957 |
|
| 958 |
#. type: Plain text |
| 959 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 960 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 961 |
msgid "" |
| 962 |
"The original Linux B<chown>(), B<fchown>(), and B<lchown>() system calls " |
| 963 |
"supported only 16-bit user and group IDs. Subsequently, Linux 2.4 added " |
| 964 |
"B<chown32>(), B<fchown32>(), and B<lchown32>(), supporting 32-bit IDs. The " |
| 965 |
"glibc B<chown>(), B<fchown>(), and B<lchown>() wrapper functions " |
| 966 |
"transparently deal with the variations across kernel versions." |
| 967 |
msgstr "" |
| 968 |
"Первоначальные версии системных вызовов B<chown>(), B<fchown>() и " |
| 969 |
"B<lchown>() в Linux поддерживали только 16-битные идентификаторы " |
| 970 |
"пользователей и групп. Позднее в Linux 2.4 были добавлены вызовы " |
| 971 |
"B<chown32>(), B<fchown32>() и B<lchown32>(), поддерживающие 32-битные " |
| 972 |
"идентификаторы. В glibc обёрточные функции B<chown>(), B<fchown>() и " |
| 973 |
"B<lchown>() работают одинаково вне зависимости от версий ядра." |
| 974 |
|
| 975 |
#. type: Plain text |
| 976 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 977 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 978 |
#, fuzzy |
| 979 |
#| msgid "" |
| 980 |
#| "In versions of Linux prior to 2.1.81 (and distinct from 2.1.46), " |
| 981 |
#| "B<chown>() did not follow symbolic links. Since Linux 2.1.81, " |
| 982 |
#| "B<chown>() does follow symbolic links, and there is a new system call " |
| 983 |
#| "B<lchown>() that does not follow symbolic links. Since Linux 2.1.86, " |
| 984 |
#| "this new call (that has the same semantics as the old B<chown>()) has " |
| 985 |
#| "got the same syscall number, and B<chown>() got the newly introduced " |
| 986 |
#| "number." |
| 987 |
msgid "" |
| 988 |
"Before Linux 2.1.81 (except 2.1.46), B<chown>() did not follow symbolic " |
| 989 |
"links. Since Linux 2.1.81, B<chown>() does follow symbolic links, and " |
| 990 |
"there is a new system call B<lchown>() that does not follow symbolic " |
| 991 |
"links. Since Linux 2.1.86, this new call (that has the same semantics as " |
| 992 |
"the old B<chown>()) has got the same syscall number, and B<chown>() got " |
| 993 |
"the newly introduced number." |
| 994 |
msgstr "" |
| 995 |
"В версиях Linux до 2.1.81 (кроме 2.1.46) B<chown>() не следовал по " |
| 996 |
"символьным ссылкам. Начиная с версии Linux 2.1.81 B<chown>() следует по " |
| 997 |
"символьным ссылкам, и существует новый системный вызов B<lchown>(), который " |
| 998 |
"не следует по символьным ссылкам. Начиная с Linux 2.1.86 этот новый вызов " |
| 999 |
"(имеющий тот же смысл, что и старый B<chown>()) имеет тот же самый номер " |
| 1000 |
"системного вызова, а B<chown>() получил новый номер." |
| 1001 |
|
| 1002 |
#. type: SH |
| 1003 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1004 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1005 |
#, no-wrap |
| 1006 |
msgid "EXAMPLES" |
| 1007 |
msgstr "ПРИМЕРЫ" |
| 1008 |
|
| 1009 |
#. type: Plain text |
| 1010 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1011 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1012 |
msgid "" |
| 1013 |
"The following program changes the ownership of the file named in its second " |
| 1014 |
"command-line argument to the value specified in its first command-line " |
| 1015 |
"argument. The new owner can be specified either as a numeric user ID, or as " |
| 1016 |
"a username (which is converted to a user ID by using B<getpwnam>(3) to " |
| 1017 |
"perform a lookup in the system password file)." |
| 1018 |
msgstr "" |
| 1019 |
"Следующая программа изменять владельца файла, указанного вторым в командной " |
| 1020 |
"строке, на значение, указанное в первом аргументе командной строки. Новый " |
| 1021 |
"владелец может задаваться в виде числового пользовательского ID, или в виде " |
| 1022 |
"имени пользователя (которое преобразуется в пользовательский ID с помощью " |
| 1023 |
"B<getpwnam>(3), выполняющего поиск в системном файле паролей)." |
| 1024 |
|
| 1025 |
#. type: SS |
| 1026 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1027 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1028 |
#, no-wrap |
| 1029 |
msgid "Program source" |
| 1030 |
msgstr "Исходный код программы" |
| 1031 |
|
| 1032 |
#. type: Plain text |
| 1033 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1034 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1035 |
#, no-wrap |
| 1036 |
msgid "" |
| 1037 |
"#include E<lt>pwd.hE<gt>\n" |
| 1038 |
"#include E<lt>stdio.hE<gt>\n" |
| 1039 |
"#include E<lt>stdlib.hE<gt>\n" |
| 1040 |
"#include E<lt>sys/types.hE<gt>\n" |
| 1041 |
"#include E<lt>unistd.hE<gt>\n" |
| 1042 |
"\\&\n" |
| 1043 |
"int\n" |
| 1044 |
"main(int argc, char *argv[])\n" |
| 1045 |
"{\n" |
| 1046 |
" char *endptr;\n" |
| 1047 |
" uid_t uid;\n" |
| 1048 |
" struct passwd *pwd;\n" |
| 1049 |
"\\&\n" |
| 1050 |
" if (argc != 3 || argv[1][0] == \\[aq]\\[rs]0\\[aq]) {\n" |
| 1051 |
" fprintf(stderr, \"%s E<lt>ownerE<gt> E<lt>fileE<gt>\\[rs]n\", argv[0]);\n" |
| 1052 |
" exit(EXIT_FAILURE);\n" |
| 1053 |
" }\n" |
| 1054 |
"\\&\n" |
| 1055 |
" uid = strtol(argv[1], &endptr, 10); /* Allow a numeric string */\n" |
| 1056 |
"\\&\n" |
| 1057 |
" if (*endptr != \\[aq]\\[rs]0\\[aq]) { /* Was not pure numeric string */\n" |
| 1058 |
" pwd = getpwnam(argv[1]); /* Try getting UID for username */\n" |
| 1059 |
" if (pwd == NULL) {\n" |
| 1060 |
" perror(\"getpwnam\");\n" |
| 1061 |
" exit(EXIT_FAILURE);\n" |
| 1062 |
" }\n" |
| 1063 |
"\\&\n" |
| 1064 |
" uid = pwd-E<gt>pw_uid;\n" |
| 1065 |
" }\n" |
| 1066 |
"\\&\n" |
| 1067 |
" if (chown(argv[2], uid, -1) == -1) {\n" |
| 1068 |
" perror(\"chown\");\n" |
| 1069 |
" exit(EXIT_FAILURE);\n" |
| 1070 |
" }\n" |
| 1071 |
"\\&\n" |
| 1072 |
" exit(EXIT_SUCCESS);\n" |
| 1073 |
"}\n" |
| 1074 |
msgstr "" |
| 1075 |
"#include E<lt>pwd.hE<gt>\n" |
| 1076 |
"#include E<lt>stdio.hE<gt>\n" |
| 1077 |
"#include E<lt>stdlib.hE<gt>\n" |
| 1078 |
"#include E<lt>sys/types.hE<gt>\n" |
| 1079 |
"#include E<lt>unistd.hE<gt>\n" |
| 1080 |
"\\&\n" |
| 1081 |
"int\n" |
| 1082 |
"main(int argc, char *argv[])\n" |
| 1083 |
"{\n" |
| 1084 |
" char *endptr;\n" |
| 1085 |
" uid_t uid;\n" |
| 1086 |
" struct passwd *pwd;\n" |
| 1087 |
"\\&\n" |
| 1088 |
" if (argc != 3 || argv[1][0] == \\[aq]\\[rs]0\\[aq]) {\n" |
| 1089 |
" fprintf(stderr, \"%s E<lt>ownerE<gt> E<lt>fileE<gt>\\[rs]n\", argv[0]);\n" |
| 1090 |
" exit(EXIT_FAILURE);\n" |
| 1091 |
" }\n" |
| 1092 |
"\\&\n" |
| 1093 |
" uid = strtol(argv[1], &endptr, 10); /* Allow a numeric string */\n" |
| 1094 |
"\\&\n" |
| 1095 |
" if (*endptr != \\[aq]\\[rs]0\\[aq]) { /* Was not pure numeric string */\n" |
| 1096 |
" pwd = getpwnam(argv[1]); /* Try getting UID for username */\n" |
| 1097 |
" if (pwd == NULL) {\n" |
| 1098 |
" perror(\"getpwnam\");\n" |
| 1099 |
" exit(EXIT_FAILURE);\n" |
| 1100 |
" }\n" |
| 1101 |
"\\&\n" |
| 1102 |
" uid = pwd-E<gt>pw_uid;\n" |
| 1103 |
" }\n" |
| 1104 |
"\\&\n" |
| 1105 |
" if (chown(argv[2], uid, -1) == -1) {\n" |
| 1106 |
" perror(\"chown\");\n" |
| 1107 |
" exit(EXIT_FAILURE);\n" |
| 1108 |
" }\n" |
| 1109 |
"\\&\n" |
| 1110 |
" exit(EXIT_SUCCESS);\n" |
| 1111 |
"}\n" |
| 1112 |
|
| 1113 |
#. SRC END |
| 1114 |
#. type: SH |
| 1115 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1116 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1117 |
#, no-wrap |
| 1118 |
msgid "SEE ALSO" |
| 1119 |
msgstr "СМОТРИТЕ ТАКЖЕ" |
| 1120 |
|
| 1121 |
#. type: Plain text |
| 1122 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1123 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1124 |
msgid "" |
| 1125 |
"B<chgrp>(1), B<chown>(1), B<chmod>(2), B<flock>(2), B<path_resolution>(7), " |
| 1126 |
"B<symlink>(7)" |
| 1127 |
msgstr "" |
| 1128 |
"B<chgrp>(1), B<chown>(1), B<chmod>(2), B<flock>(2), B<path_resolution>(7), " |
| 1129 |
"B<symlink>(7)" |
| 1130 |
|
| 1131 |
#. type: TH |
| 1132 |
#: debian-trixie |
| 1133 |
#, no-wrap |
| 1134 |
msgid "2024-06-15" |
| 1135 |
msgstr "15 июня 2024 г." |
| 1136 |
|
| 1137 |
#. type: TH |
| 1138 |
#: debian-trixie |
| 1139 |
#, no-wrap |
| 1140 |
msgid "Linux man-pages 6.9.1" |
| 1141 |
msgstr "Страницы руководства Linux 6.9.1" |
| 1142 |
|
| 1143 |
#. type: Plain text |
| 1144 |
#: debian-trixie |
| 1145 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 1146 |
msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)" |
| 1147 |
|
| 1148 |
#. type: Plain text |
| 1149 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1150 |
#, no-wrap |
| 1151 |
msgid "" |
| 1152 |
"B<int chown(const char *>I<pathname>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n" |
| 1153 |
"B<int fchown(int >I<fd>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n" |
| 1154 |
"B<int lchown(const char *>I<pathname>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n" |
| 1155 |
msgstr "" |
| 1156 |
"B<int chown(const char *>I<pathname>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n" |
| 1157 |
"B<int fchown(int >I<fd>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n" |
| 1158 |
"B<int lchown(const char *>I<pathname>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n" |
| 1159 |
|
| 1160 |
#. type: Plain text |
| 1161 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1162 |
#, no-wrap |
| 1163 |
msgid "" |
| 1164 |
"B<int fchownat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n" |
| 1165 |
"B< uid_t >I<owner>B<, gid_t >I<group>B<, int >I<flags>B<);>\n" |
| 1166 |
msgstr "" |
| 1167 |
"B<int fchownat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n" |
| 1168 |
"B< uid_t >I<owner>B<, gid_t >I<group>B<, int >I<flags>B<);>\n" |
| 1169 |
|
| 1170 |
#. type: Plain text |
| 1171 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1172 |
msgid "" |
| 1173 |
"B<chown>() changes the ownership of the file specified by I<pathname>, " |
| 1174 |
"which is dereferenced if it is a symbolic link." |
| 1175 |
msgstr "" |
| 1176 |
"B<chown>() изменяет владельца для файла, задаваемого параметром I<pathname>, " |
| 1177 |
"который разыменовывается, если является символьной ссылкой." |
| 1178 |
|
| 1179 |
#. type: Plain text |
| 1180 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1181 |
msgid "" |
| 1182 |
"If the pathname given in I<pathname> is relative, then it is interpreted " |
| 1183 |
"relative to the directory referred to by the file descriptor I<dirfd> " |
| 1184 |
"(rather than relative to the current working directory of the calling " |
| 1185 |
"process, as is done by B<chown>() for a relative pathname)." |
| 1186 |
msgstr "" |
| 1187 |
"Если в I<pathname> задан относительный путь, то он считается относительно " |
| 1188 |
"каталога, на который ссылается файловый дескриптор I<dirfd> (а не " |
| 1189 |
"относительно текущего рабочего каталога вызывающего процесса, как это " |
| 1190 |
"делается в B<chown>())." |
| 1191 |
|
| 1192 |
#. type: Plain text |
| 1193 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1194 |
msgid "" |
| 1195 |
"If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, " |
| 1196 |
"then I<pathname> is interpreted relative to the current working directory of " |
| 1197 |
"the calling process (like B<chown>())." |
| 1198 |
msgstr "" |
| 1199 |
"Если в I<pathname> задан относительный путь и I<dirfd> равно специальному " |
| 1200 |
"значению B<AT_FDCWD>, то I<pathname> рассматривается относительно текущего " |
| 1201 |
"рабочего каталога вызывающего процесса (как B<chown>())." |
| 1202 |
|
| 1203 |
#. type: Plain text |
| 1204 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1205 |
msgid "If I<pathname> is absolute, then I<dirfd> is ignored." |
| 1206 |
msgstr "Если в I<pathname> задан абсолютный путь, то I<dirfd> игнорируется." |
| 1207 |
|
| 1208 |
#. commit 65cfc6722361570bfe255698d9cd4dccaf47570d |
| 1209 |
#. Before glibc 2.16, defining _ATFILE_SOURCE sufficed |
| 1210 |
#. type: Plain text |
| 1211 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1212 |
msgid "" |
| 1213 |
"If I<pathname> is an empty string, operate on the file referred to by " |
| 1214 |
"I<dirfd> (which may have been obtained using the B<open>(2) B<O_PATH> " |
| 1215 |
"flag). In this case, I<dirfd> can refer to any type of file, not just a " |
| 1216 |
"directory. If I<dirfd> is B<AT_FDCWD>, the call operates on the current " |
| 1217 |
"working directory. This flag is Linux-specific; define B<_GNU_SOURCE> to " |
| 1218 |
"obtain its definition." |
| 1219 |
msgstr "" |
| 1220 |
"Если значение I<pathname> равно пустой строке, то выполнять действие над " |
| 1221 |
"файлом, на который указывает I<dirfd> (который может быть получен с помощью " |
| 1222 |
"B<open>(2) с флагом B<O_PATH>). В этом случае, I<dirfd> может указывать на " |
| 1223 |
"файл любого типа, а не только на каталог. Если I<dirfd> равно B<AT_FDCWD>, " |
| 1224 |
"то вызов выполняет действие над текущим рабочим каталогом. Этот флаг есть " |
| 1225 |
"только в Linux; для получения его определения определите B<_GNU_SOURCE>." |
| 1226 |
|
| 1227 |
#. type: Plain text |
| 1228 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1229 |
msgid "" |
| 1230 |
"If I<pathname> is a symbolic link, do not dereference it: instead operate on " |
| 1231 |
"the link itself, like B<lchown>(). (By default, B<fchownat>() dereferences " |
| 1232 |
"symbolic links, like B<chown>().)" |
| 1233 |
msgstr "" |
| 1234 |
"Если значение I<pathname> является символьной ссылкой, не разыменовывать её, " |
| 1235 |
"а изменить владельца самой ссылки, как это делается в B<lchown>() (по " |
| 1236 |
"умолчанию, B<fchownat>() разыменовывает символьные ссылки как и B<chown>())." |
| 1237 |
|
| 1238 |
#. type: Plain text |
| 1239 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1240 |
msgid "" |
| 1241 |
"(B<fchownat>()) I<pathname> is relative but I<dirfd> is neither B<AT_FDCWD> " |
| 1242 |
"nor a valid file descriptor." |
| 1243 |
msgstr "" |
| 1244 |
"(B<fchownat>()) I<pathname> является относительным, но I<dirfd> не является " |
| 1245 |
"ни B<AT_FDCWD>, ни действительным файловым дескриптором." |
| 1246 |
|
| 1247 |
#. type: Plain text |
| 1248 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1249 |
msgid "I<pathname> points outside your accessible address space." |
| 1250 |
msgstr "" |
| 1251 |
"Аргумент I<pathname> указывает за пределы доступного адресного пространства." |
| 1252 |
|
| 1253 |
#. type: Plain text |
| 1254 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1255 |
msgid "Too many symbolic links were encountered in resolving I<pathname>." |
| 1256 |
msgstr "" |
| 1257 |
"Во время определения I<pathname> встретилось слишком много символьных ссылок." |
| 1258 |
|
| 1259 |
#. type: Plain text |
| 1260 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1261 |
msgid "I<pathname> is too long." |
| 1262 |
msgstr "Слишком длинное значение аргумента I<pathname>." |
| 1263 |
|
| 1264 |
#. type: Plain text |
| 1265 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1266 |
msgid "" |
| 1267 |
"(B<fchownat>()) I<pathname> is relative and I<dirfd> is a file descriptor " |
| 1268 |
"referring to a file other than a directory." |
| 1269 |
msgstr "" |
| 1270 |
"(B<fchownat>()) Значение I<pathname> содержит относительный путь и I<dirfd> " |
| 1271 |
"содержит файловый дескриптор, указывающий на файл, а не на каталог." |
| 1272 |
|
| 1273 |
#. type: Plain text |
| 1274 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1275 |
msgid "POSIX.1-2008." |
| 1276 |
msgstr "POSIX.1-2008." |
| 1277 |
|
| 1278 |
#. type: Plain text |
| 1279 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1280 |
msgid "4.4BSD, SVr4, POSIX.1-2001." |
| 1281 |
msgstr "4.4BSD, SVr4, POSIX.1-2001." |
| 1282 |
|
| 1283 |
#. type: Plain text |
| 1284 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1285 |
msgid "" |
| 1286 |
"On older kernels where B<fchownat>() is unavailable, the glibc wrapper " |
| 1287 |
"function falls back to the use of B<chown>() and B<lchown>(). When " |
| 1288 |
"I<pathname> is a relative pathname, glibc constructs a pathname based on the " |
| 1289 |
"symbolic link in I</proc/self/fd> that corresponds to the I<dirfd> argument." |
| 1290 |
msgstr "" |
| 1291 |
"В старых ядрах, где B<fchownat>() отсутствует, обёрточная функция glibc " |
| 1292 |
"использует B<chown>() или B<lchown>(). Если I<pathname> является " |
| 1293 |
"относительным путём, то glibc собирает путь относительно символической " |
| 1294 |
"ссылки в I</proc/self/fd>, которая соответствует аргументу I<dirfd>." |
| 1295 |
|
| 1296 |
#. type: TH |
| 1297 |
#: fedora-44 fedora-rawhide |
| 1298 |
#, no-wrap |
| 1299 |
msgid "2024-07-23" |
| 1300 |
msgstr "23 июля 2024 г." |
| 1301 |
|
| 1302 |
#. type: TH |
| 1303 |
#: fedora-44 fedora-rawhide |
| 1304 |
#, no-wrap |
| 1305 |
msgid "Linux man-pages 6.13" |
| 1306 |
msgstr "Страницы руководства Linux 6.13" |
| 1307 |
|
| 1308 |
#. type: TH |
| 1309 |
#: mageia-cauldron |
| 1310 |
#, no-wrap |
| 1311 |
msgid "Linux man-pages 6.17" |
| 1312 |
msgstr "Страницы руководства Linux 6.17" |
| 1313 |
|
| 1314 |
#. type: TH |
| 1315 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1316 |
#, no-wrap |
| 1317 |
msgid "Linux man-pages (unreleased)" |
| 1318 |
msgstr "Страницы руководства Linux (не выпущены)" |