Debian Codegraph @

po/ru/man2/access.2.po

raw
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 # Dmitry Bolkhovskikh <[email protected]>, 2017.
5 # Yuri Kozlov <[email protected]>, 2012-2019.
6 # Aleksandr Felda <[email protected]>, 2024.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: manpages-l10n 4.22.0\n"
10 "POT-Creation-Date: 2026-06-05 06:17+0200\n"
11 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
12 "Last-Translator: Aleksandr Felda <[email protected]>\n"
13 "Language-Team: Russian <[email protected]>\n"
14 "Language: ru\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
19 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
20 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
21 "X-Generator: Poedit 3.2.2\n"
22
23 #. type: TH
24 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
25 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
26 #, no-wrap
27 msgid "access"
28 msgstr "access"
29
30 #. type: TH
31 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
32 #: opensuse-tumbleweed
33 #, no-wrap
34 msgid "2026-02-08"
35 msgstr "8 февраля 2026 г."
36
37 #. type: TH
38 #: archlinux debian-unstable
39 #, fuzzy, no-wrap
40 #| msgid "Linux man-pages 6.17"
41 msgid "Linux man-pages 6.18"
42 msgstr "Справочные страницы Linux 6.17"
43
44 #. type: SH
45 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
46 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
47 #, no-wrap
48 msgid "NAME"
49 msgstr "НАИМЕНОВАНИЕ"
50
51 #. type: Plain text
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 msgid "access, faccessat, faccessat2 - check user's permissions for a file"
55 msgstr ""
56 "access, faccessat, faccessat2 - проверка прав доступа пользователя к файлу"
57
58 #. type: SH
59 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
60 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
61 #, no-wrap
62 msgid "LIBRARY"
63 msgstr "БИБЛИОТЕКА"
64
65 #. type: Plain text
66 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
67 #: opensuse-leap-16-1 opensuse-tumbleweed
68 msgid "Standard C library (I<libc>,\\ I<-lc>)"
69 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
70
71 #. type: SH
72 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
73 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
74 #, no-wrap
75 msgid "SYNOPSIS"
76 msgstr "СИНТАКСИС"
77
78 #. type: Plain text
79 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
80 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
81 #, no-wrap
82 msgid "B<#include E<lt>unistd.hE<gt>>\n"
83 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
84
85 #. type: Plain text
86 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
87 #: opensuse-tumbleweed
88 #, fuzzy, no-wrap
89 #| msgid "B<int access(const char *>I<pathname>B<, int >I<mode>B<);>\n"
90 msgid "B<int access(const char *>I<path>B<, int >I<mode>B<);>\n"
91 msgstr "B<int access(const char *>I<pathname>B<, int >I<mode>B<);>\n"
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 #, no-wrap
97 msgid ""
98 "B<#include E<lt>fcntl.hE<gt>> /* Definition of B<AT_*> constants */\n"
99 "B<#include E<lt>unistd.hE<gt>>\n"
100 msgstr ""
101 "B<#include E<lt>fcntl.hE<gt>> /* определения констант B<AT_*> */\n"
102 "B<#include E<lt>unistd.hE<gt>>\n"
103
104 #. type: Plain text
105 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
106 #: opensuse-tumbleweed
107 #, fuzzy, no-wrap
108 #| msgid ""
109 #| "B<int faccessat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<mode>B<, int >I<flags>B<);>\n"
110 #| " /* But see C library/kernel differences, below */\n"
111 msgid ""
112 "B<int faccessat(int >I<dirfd>B<, const char *>I<path>B<, int >I<mode>B<, int >I<flags>B<);>\n"
113 " /* But see C library/kernel differences, below */\n"
114 msgstr ""
115 "B<int faccessat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<mode>B<, int >I<flags>B<);>\n"
116 " /* But see C library/kernel differences, below */\n"
117
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 #, no-wrap
122 msgid ""
123 "B<#include E<lt>fcntl.hE<gt>> /* Definition of B<AT_*> constants */\n"
124 "B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n"
125 "B<#include E<lt>unistd.hE<gt>>\n"
126 msgstr ""
127 "B<#include E<lt>fcntl.hE<gt>> /* определения констант B<AT_*> */\n"
128 "B<#include E<lt>sys/syscall.hE<gt>> /* определения констант B<SYS_*> */\n"
129 "B<#include E<lt>unistd.hE<gt>>\n"
130
131 #. type: Plain text
132 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
133 #: opensuse-tumbleweed
134 #, fuzzy, no-wrap
135 #| msgid ""
136 #| "B<int syscall(SYS_faccessat2,>\n"
137 #| "B< int >I<dirfd>B<, const char *>I<pathname>B<, int >I<mode>B<, int >I<flags>B<);>\n"
138 msgid ""
139 "B<int syscall(SYS_faccessat2,>\n"
140 "B< int >I<dirfd>B<, const char *>I<path>B<, int >I<mode>B<, int >I<flags>B<);>\n"
141 msgstr ""
142 "B<int syscall(SYS_faccessat2,>\n"
143 "B< int >I<dirfd>B<, const char *>I<pathname>B<, int >I<mode>B<, int >I<flags>B<);>\n"
144
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 msgid ""
149 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
150 msgstr ""
151 "Требования макроса тестирования свойств для glibc (см. "
152 "B<feature_test_macros>(7)):"
153
154 #. type: Plain text
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 msgid "B<faccessat>():"
158 msgstr "B<faccessat>():"
159
160 #. type: Plain text
161 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
162 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
163 #, no-wrap
164 msgid ""
165 " Since glibc 2.10:\n"
166 " _POSIX_C_SOURCE E<gt>= 200809L\n"
167 " Before glibc 2.10:\n"
168 " _ATFILE_SOURCE\n"
169 msgstr ""
170 " Начиная с glibc 2.10:\n"
171 " _POSIX_C_SOURCE E<gt>= 200809L\n"
172 " До glibc 2.10:\n"
173 " _ATFILE_SOURCE\n"
174
175 #. type: SH
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 #, no-wrap
179 msgid "DESCRIPTION"
180 msgstr "ОПИСАНИЕ"
181
182 #. type: Plain text
183 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
184 #: opensuse-tumbleweed
185 #, fuzzy
186 #| msgid ""
187 #| "B<access>() checks whether the calling process can access the file "
188 #| "I<pathname>. If I<pathname> is a symbolic link, it is dereferenced."
189 msgid ""
190 "B<access>() checks whether the calling process can access the file "
191 "I<path>. If I<path> is a symbolic link, it is dereferenced."
192 msgstr ""
193 "B<access> проверяет, имеет ли вызвавший процесс права доступа к файлу "
194 "I<pathname>. Если I<pathname> является символьной ссылкой, то проверяются "
195 "права доступа к файлу, на который она ссылается."
196
197 #. F_OK is defined as 0 on every system that I know of.
198 #. type: Plain text
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 msgid ""
202 "The I<mode> specifies the accessibility check(s) to be performed, and is "
203 "either the value B<F_OK>, or a mask consisting of the bitwise OR of one or "
204 "more of B<R_OK>, B<W_OK>, and B<X_OK>. B<F_OK> tests for the existence of "
205 "the file. B<R_OK>, B<W_OK>, and B<X_OK> test whether the file exists and "
206 "grants read, write, and execute permissions, respectively."
207 msgstr ""
208 "Аргумент I<mode> - маска выполняемых проверок доступа; может быть равна "
209 "значению B<F_OK>, или состоять из результатов одной или нескольких "
210 "поразрядных операций логическое ИЛИ с операндами B<R_OK>, B<W_OK> и B<X_OK>. "
211 "B<F_OK> проверяет существование файла. B<R_OK>, B<W_OK> и B<X_OK> "
212 "запрашивают проверку, соответственно, существования файла и возможности его "
213 "чтения, записи или выполнения."
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 msgid ""
219 "The check is done using the calling process's I<real> UID and GID, rather "
220 "than the effective IDs as is done when actually attempting an operation "
221 "(e.g., B<open>(2)) on the file. Similarly, for the root user, the check "
222 "uses the set of permitted capabilities rather than the set of effective "
223 "capabilities; and for non-root users, the check uses an empty set of "
224 "capabilities."
225 msgstr ""
226 "Проверка осуществляется с использованием I<real> (действительного), а не "
227 "эффективного (текущего) идентификатора пользователя (UID) и группы (GID) "
228 "вызвавших процесс. Эффективные идентификаторы будут использоваться при "
229 "действительной попытке выполнения той или иной операции с файлом (например, "
230 "B<open>(2)). Аналогичным образом, для пользователя root, при проверке "
231 "используется набор прав доступа, а не набор эффективных прав доступа; для не "
232 "root-пользователей при проверке используется пустой набор прав доступа."
233
234 #. type: Plain text
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 msgid ""
238 "This allows set-user-ID programs and capability-endowed programs to easily "
239 "determine the invoking user's authority. In other words, B<access>() does "
240 "not answer the \"can I read/write/execute this file?\" question. It answers "
241 "a slightly different question: \"(assuming I'm a setuid binary) can I<the "
242 "user who invoked me> read/write/execute this file?\", which gives set-user-"
243 "ID programs the possibility to prevent malicious users from causing them to "
244 "read files which users shouldn't be able to read."
245 msgstr ""
246 "Это позволяет программам с set-user-ID (setuid) и программам с расширенными "
247 "возможностями легко определять права доступа вызывавшего их пользователя. "
248 "Другими словами программа B<access>() не отвечает на запрос «может она "
249 "прочитать/записать/выполнить этот файл?». Она отвечает на несколько иной "
250 "запрос (в предположении, что это двоичный файл с setuid) : « может ли I<the "
251 "user who invoked me> (может ли пользователь, запустивший этот файл) "
252 "прочитать/записать/выполнить этот файл?». Это даёт возможность программам с "
253 "set-user-ID не дать злонамеренным пользователям прочитать файлы, которые они "
254 "не имеют права прочитать."
255
256 #. type: Plain text
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 msgid ""
260 "If the calling process is privileged (i.e., its real UID is zero), then an "
261 "B<X_OK> check is successful for a regular file if execute permission is "
262 "enabled for any of the file owner, group, or other."
263 msgstr ""
264 "Если вызвавший процесс имеет соответствующие привилегии (например, его "
265 "реальный UID равен 0), то проверка B<X_OK> пройдёт успешно для обычного "
266 "файла, если у него установлено право на выполнение для любых владельце, "
267 "групп или остальных."
268
269 #. type: SS
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 #, no-wrap
273 msgid "faccessat()"
274 msgstr "faccessat()"
275
276 #. type: Plain text
277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
279 msgid ""
280 "B<faccessat>() operates in exactly the same way as B<access>(), except for "
281 "the differences described here."
282 msgstr ""
283 "B<faccessat>() действует точно так же, как B<access>(), за исключением "
284 "случаев, описанных здесь."
285
286 #. type: Plain text
287 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
288 #: opensuse-tumbleweed
289 #, fuzzy
290 #| msgid ""
291 #| "If the pathname given in I<pathname> is relative, then it is interpreted "
292 #| "relative to the directory referred to by the file descriptor I<dirfd> "
293 #| "(rather than relative to the current working directory of the calling "
294 #| "process, as is done by B<access>() for a relative pathname)."
295 msgid ""
296 "If I<path> is relative, then it is interpreted relative to the directory "
297 "referred to by the file descriptor I<dirfd> (rather than relative to the "
298 "current working directory of the calling process, as is done by B<access>() "
299 "for a relative pathname)."
300 msgstr ""
301 "Если в I<pathname> задан относительный путь, то он считается относительно "
302 "каталога, на который ссылается файловый дескриптор I<dirfd> (а не "
303 "относительно текущего рабочего каталога вызывающего процесса, как это "
304 "делается в B<access>())."
305
306 #. type: Plain text
307 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
308 #: opensuse-tumbleweed
309 #, fuzzy
310 #| msgid ""
311 #| "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
312 #| "then I<pathname> is interpreted relative to the current working directory "
313 #| "of the calling process (like B<access>())."
314 msgid ""
315 "If I<path> is relative and I<dirfd> is the special value B<AT_FDCWD>, then "
316 "I<path> is interpreted relative to the current working directory of the "
317 "calling process (like B<access>())."
318 msgstr ""
319 "Если в I<pathname> задан относительный путь и I<dirfd> равно специальному "
320 "значению B<AT_FDCWD>, то I<pathname> рассматривается относительно текущего "
321 "рабочего каталога вызывающего процесса (как B<access>())."
322
323 #. type: Plain text
324 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
325 #: opensuse-tumbleweed
326 #, fuzzy
327 #| msgid "If I<pathname> is absolute, then I<dirfd> is ignored."
328 msgid "If I<path> is absolute, then I<dirfd> is ignored."
329 msgstr "Если в I<pathname> задан абсолютный путь, то I<dirfd> игнорируется."
330
331 #. type: Plain text
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 msgid ""
335 "I<flags> is constructed by ORing together zero or more of the following "
336 "values:"
337 msgstr ""
338 "Значение I<flags> получается с помощью операции логическое ИЛИ с нулём или "
339 "со следующими значениями:"
340
341 #. type: TP
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 #, no-wrap
345 msgid "B<AT_EACCESS>"
346 msgstr "B<AT_EACCESS>"
347
348 #. type: Plain text
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 msgid ""
352 "Perform access checks using the effective user and group IDs. By default, "
353 "B<faccessat>() uses the real IDs (like B<access>())."
354 msgstr ""
355 "Выполнять проверку, доступа используя эффективный идентификатор пользователя "
356 "и группы. По умолчанию в B<faccessat>() используются реальные идентификаторы "
357 "(как в B<access>())."
358
359 #. type: TP
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 #, no-wrap
363 msgid "B<AT_EMPTY_PATH> (since Linux 5.8)"
364 msgstr "B<AT_EMPTY_PATH> (начиная с Linux 5.8)"
365
366 #. type: Plain text
367 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
368 #: opensuse-tumbleweed
369 #, fuzzy
370 #| msgid ""
371 #| "If I<pathname> is an empty string, operate on the file referred to by "
372 #| "I<dirfd> (which may have been obtained using the B<open>(2) B<O_PATH> "
373 #| "flag). In this case, I<dirfd> can refer to any type of file, not just a "
374 #| "directory. If I<dirfd> is B<AT_FDCWD>, the call operates on the current "
375 #| "working directory. This flag is Linux-specific; define B<_GNU_SOURCE> to "
376 #| "obtain its definition."
377 msgid ""
378 "If I<path> is an empty string, operate on the file referred to by I<dirfd> "
379 "(which may have been obtained using the B<open>(2) B<O_PATH> flag). In "
380 "this case, I<dirfd> can refer to any type of file, not just a directory. If "
381 "I<dirfd> is B<AT_FDCWD>, the call operates on the current working "
382 "directory. This flag is Linux-specific; define B<_GNU_SOURCE> to obtain its "
383 "definition."
384 msgstr ""
385 "Если значение I<pathname> равно пустой строке, то выполнять действие над "
386 "файлом, на который указывает I<dirfd> (который может быть получен с помощью "
387 "B<open>(2) с флагом B<O_PATH>). В этом случае, I<dirfd> может указывать на "
388 "файл любого типа, а не только на каталог. Если I<dirfd> равно B<AT_FDCWD>, "
389 "то вызов выполняет действие над текущим рабочим каталогом. Этот флаг есть "
390 "только в Linux; для получения его определения определите B<_GNU_SOURCE>."
391
392 #. type: TP
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 #, no-wrap
396 msgid "B<AT_SYMLINK_NOFOLLOW>"
397 msgstr "B<AT_SYMLINK_NOFOLLOW>"
398
399 #. type: Plain text
400 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
401 #: opensuse-tumbleweed
402 #, fuzzy
403 #| msgid ""
404 #| "If I<pathname> is a symbolic link, do not dereference it: instead return "
405 #| "information about the link itself."
406 msgid ""
407 "If I<path> is a symbolic link, do not dereference it: instead return "
408 "information about the link itself."
409 msgstr ""
410 "Если значение I<pathname> является символьной ссылкой, не разыменовывать её, "
411 "а выдать информацию о самой ссылке."
412
413 #. type: Plain text
414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
416 msgid "See B<openat>(2) for an explanation of the need for B<faccessat>()."
417 msgstr "Смотрите в B<openat>(2) объяснение необходимости B<faccessat>()."
418
419 #. type: SS
420 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
421 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
422 #, no-wrap
423 msgid "faccessat2()"
424 msgstr "faccessat2()"
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 ""
430 "The description of B<faccessat>() given above corresponds to POSIX.1 and to "
431 "the implementation provided by glibc. However, the glibc implementation was "
432 "an imperfect emulation (see BUGS) that papered over the fact that the raw "
433 "Linux B<faccessat>() system call does not have a I<flags> argument. To "
434 "allow for a proper implementation, Linux 5.8 added the B<faccessat2>() "
435 "system call, which supports the I<flags> argument and allows a correct "
436 "implementation of the B<faccessat>() wrapper function."
437 msgstr ""
438 "Приведенное выше описание функции B<faccessat>() соответствует POSIX.1 и "
439 "реализации, предоставленной glibc. Однако реализация glibc была "
440 "несовершенной эмуляцией (см. раздел \"ОШИБКИ\"), которая скрывала тот факт, "
441 "что исходный системный вызов Linux B<faccessat>() не имеет аргумента "
442 "I<flags>. Чтобы обеспечить правильную реализацию, в Linux 5.8 был добавлен "
443 "системный вызов B<faccessat2>(), который поддерживает аргумент I<flags> и "
444 "позволяет корректно реализовать функцию-оболочку B<faccessat>()."
445
446 #. type: SH
447 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
448 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
449 #, no-wrap
450 msgid "RETURN VALUE"
451 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
452
453 #. type: Plain text
454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
456 msgid ""
457 "On success (all requested permissions granted, or I<mode> is B<F_OK> and the "
458 "file exists), zero is returned. On error (at least one bit in I<mode> asked "
459 "for a permission that is denied, or I<mode> is B<F_OK> and the file does not "
460 "exist, or some other error occurred), -1 is returned, and I<errno> is set to "
461 "indicate the error."
462 msgstr ""
463 "В случае успеха (все запрошенные разрешения предоставлены, или I<mode> это - "
464 "B<F_OK> и файл существует), то возвращается ноль. При ошибке (по крайней "
465 "мере, из-за одного бита, в доступе I<mode> было отказано или I<mode> это - "
466 "B<F_OK> и файл не существует, или произошла какая-либо другая ошибка) "
467 "возвращается значение -1 и устанавливается I<errno> для указания на ошибку."
468
469 #. type: SH
470 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
471 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
472 #, no-wrap
473 msgid "ERRORS"
474 msgstr "ОШИБКИ"
475
476 #. type: TP
477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
479 #, no-wrap
480 msgid "B<EACCES>"
481 msgstr "B<EACCES>"
482
483 #. type: Plain text
484 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
485 #: opensuse-tumbleweed
486 #, fuzzy
487 #| msgid ""
488 #| "The requested access would be denied to the file, or search permission is "
489 #| "denied for one of the directories in the path prefix of I<pathname>. "
490 #| "(See also B<path_resolution>(7).)"
491 msgid ""
492 "The requested access would be denied to the file, or search permission is "
493 "denied for one of the directories in the path prefix of I<path>. (See also "
494 "B<path_resolution>(7).)"
495 msgstr ""
496 "В запрошенном доступе к файлу будет отказано, или будет отказано в "
497 "разрешении на поиск по одному из каталогов с префиксом пути I<pathname>. "
498 "(Смотрите также B<path_resolution>(7))."
499
500 #. type: TP
501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
503 #, no-wrap
504 msgid "B<EBADF>"
505 msgstr "B<EBADF>"
506
507 #. type: Plain text
508 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
509 #: opensuse-tumbleweed
510 #, fuzzy
511 #| msgid ""
512 #| "(B<faccessat>()) I<pathname> is relative but I<dirfd> is neither "
513 #| "B<AT_FDCWD> (B<faccessat>()) nor a valid file descriptor."
514 msgid ""
515 "(B<faccessat>()) I<path> is relative but I<dirfd> is neither B<AT_FDCWD> "
516 "(B<faccessat>()) nor a valid file descriptor."
517 msgstr ""
518 "(B<faccessat>()) I<pathname> является относительным, но I<dirfd> не является "
519 "ни B<AT_FDCWD> (B<faccessat>()), ни допустимым файловым дескриптором."
520
521 #. type: TP
522 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
523 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
524 #, no-wrap
525 msgid "B<EFAULT>"
526 msgstr "B<EFAULT>"
527
528 #. type: Plain text
529 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
530 #: opensuse-tumbleweed
531 msgid "I<path> points outside your accessible address space."
532 msgstr ""
533 "Аргумент I<path> указывает за пределы доступного адресного пространства."
534
535 #. type: TP
536 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
537 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
538 #, no-wrap
539 msgid "B<EINVAL>"
540 msgstr "B<EINVAL>"
541
542 #. type: Plain text
543 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
544 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
545 msgid "I<mode> was incorrectly specified."
546 msgstr "Аргумент I<mode> был задан неверно."
547
548 #. type: Plain text
549 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
550 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
551 msgid "(B<faccessat>()) Invalid flag specified in I<flags>."
552 msgstr "(B<faccessat>()) Указано неверное значение в I<flags>."
553
554 #. type: TP
555 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
556 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
557 #, no-wrap
558 msgid "B<EIO>"
559 msgstr "B<EIO>"
560
561 #. type: Plain text
562 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
563 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
564 msgid "An I/O error occurred."
565 msgstr "Произошла ошибка ввода-вывода."
566
567 #. type: TP
568 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
569 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
570 #, no-wrap
571 msgid "B<ELOOP>"
572 msgstr "B<ELOOP>"
573
574 #. type: Plain text
575 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
576 #: opensuse-tumbleweed
577 msgid "Too many symbolic links were encountered in resolving I<path>."
578 msgstr ""
579 "Во время определения I<path> встретилось слишком много символьных ссылок."
580
581 #. type: TP
582 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
583 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
584 #, no-wrap
585 msgid "B<ENAMETOOLONG>"
586 msgstr "B<ENAMETOOLONG>"
587
588 #. type: Plain text
589 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
590 #: opensuse-tumbleweed
591 msgid "I<path> is too long."
592 msgstr "I<path> слишком длинен."
593
594 #. type: TP
595 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
596 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
597 #, no-wrap
598 msgid "B<ENOENT>"
599 msgstr "B<ENOENT>"
600
601 #. type: Plain text
602 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
603 #: opensuse-tumbleweed
604 #, fuzzy
605 #| msgid ""
606 #| "A component of I<pathname> does not exist or is a dangling symbolic link."
607 msgid "A component of I<path> does not exist or is a dangling symbolic link."
608 msgstr ""
609 "Компонент пути I<pathname> не существует или является повисшей символьной "
610 "ссылкой."
611
612 #. type: TP
613 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
614 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
615 #, no-wrap
616 msgid "B<ENOMEM>"
617 msgstr "B<ENOMEM>"
618
619 #. type: Plain text
620 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
621 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
622 msgid "Insufficient kernel memory was available."
623 msgstr "Недостаточное количество памяти ядра."
624
625 #. type: TP
626 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
627 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
628 #, no-wrap
629 msgid "B<ENOTDIR>"
630 msgstr "B<ENOTDIR>"
631
632 #. type: Plain text
633 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
634 #: opensuse-tumbleweed
635 #, fuzzy
636 #| msgid ""
637 #| "A component used as a directory in I<pathname> is not, in fact, a "
638 #| "directory."
639 msgid ""
640 "A component used as a directory in I<path> is not, in fact, a directory."
641 msgstr ""
642 "Компонент пути, использованный как каталог в I<pathname>, в действительности "
643 "таковым не является."
644
645 #. type: Plain text
646 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
647 #: opensuse-tumbleweed
648 #, fuzzy
649 #| msgid ""
650 #| "(B<faccessat>()) I<pathname> is relative and I<dirfd> is a file "
651 #| "descriptor referring to a file other than a directory."
652 msgid ""
653 "(B<faccessat>()) I<path> is relative and I<dirfd> is a file descriptor "
654 "referring to a file other than a directory."
655 msgstr ""
656 "(B<faccessat>()) Значение I<pathname> содержит относительный путь и "
657 "I<dirfd> содержит файловый дескриптор, указывающий на файл, а не на каталог."
658
659 #. type: TP
660 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
661 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
662 #, no-wrap
663 msgid "B<EPERM>"
664 msgstr "B<EPERM>"
665
666 #. type: Plain text
667 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
668 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
669 msgid ""
670 "Write permission was requested to a file that has the immutable flag set. "
671 "See also B<FS_IOC_SETFLAGS>(2const)."
672 msgstr ""
673 "Было запрошено разрешение на запись в файл, для которого установлен флаг "
674 "неизменяемости. Смотрите также B<FS_IOC_SETFLAGS>(const)."
675
676 #. type: TP
677 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
678 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
679 #, no-wrap
680 msgid "B<EROFS>"
681 msgstr "B<EROFS>"
682
683 #. type: Plain text
684 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
685 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
686 msgid "Write permission was requested for a file on a read-only filesystem."
687 msgstr ""
688 "Запрошено право на запись в файл, расположенный в файловой системе, "
689 "доступной только для чтения."
690
691 #. type: TP
692 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
693 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
694 #, no-wrap
695 msgid "B<ETXTBSY>"
696 msgstr "B<ETXTBSY>"
697
698 #. type: Plain text
699 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
700 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
701 msgid "Write access was requested to an executable which is being executed."
702 msgstr ""
703 "Запрошены права на запись для исполняемого файла, который сейчас выполняется."
704
705 #. type: SH
706 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
707 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
708 #, no-wrap
709 msgid "VERSIONS"
710 msgstr "ВЕРСИИ"
711
712 #. HPU-UX 11 and Tru64 5.1 do this.
713 #. type: Plain text
714 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
715 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
716 msgid ""
717 "If the calling process has appropriate privileges (i.e., is superuser), "
718 "POSIX.1-2001 permits an implementation to indicate success for an B<X_OK> "
719 "check even if none of the execute file permission bits are set. Linux does "
720 "not do this."
721 msgstr ""
722 "Если вызывающий процесс имеет соответствующие права доступа (например, "
723 "суперпользователя), то POSIX.1-2001 позволяет реализации указывать на "
724 "успешное выполнение проверки B<X_OK>, даже если ни один из битов разрешения "
725 "на выполнение файла не установлен. В Linux так не происходит."
726
727 #. type: SS
728 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
729 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
730 #, no-wrap
731 msgid "C library/kernel differences"
732 msgstr "Отличия между библиотекой C и ядром"
733
734 #. type: Plain text
735 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
736 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
737 msgid ""
738 "The raw B<faccessat>() system call takes only the first three arguments. "
739 "The B<AT_EACCESS> and B<AT_SYMLINK_NOFOLLOW> flags are actually implemented "
740 "within the glibc wrapper function for B<faccessat>(). If either of these "
741 "flags is specified, then the wrapper function employs B<fstatat>(2) to "
742 "determine access permissions, but see BUGS."
743 msgstr ""
744 "Системный вызов raw B<faccessat>() принимает только первые три аргумента. "
745 "Флаги B<AT_EACCESS> и B<AT_SYMLINK_NOFOLLOW> на самом деле реализованы в "
746 "функции-оболочке glibc для B<faccessat>(). Если указан любой из этих "
747 "флагов, то функция-оболочка использует B<fstatat>(2) для определения прав "
748 "доступа, но видит ОШИБКИ."
749
750 #. type: SS
751 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
752 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
753 #, no-wrap
754 msgid "glibc notes"
755 msgstr "Замечания по glibc"
756
757 #. type: Plain text
758 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
759 #: opensuse-tumbleweed
760 #, fuzzy
761 #| msgid ""
762 #| "On older kernels where B<faccessat>() is unavailable (and when the "
763 #| "B<AT_EACCESS> and B<AT_SYMLINK_NOFOLLOW> flags are not specified), the "
764 #| "glibc wrapper function falls back to the use of B<access>(). When "
765 #| "I<pathname> is a relative pathname, glibc constructs a pathname based on "
766 #| "the symbolic link in I</proc/self/fd> that corresponds to the I<dirfd> "
767 #| "argument."
768 msgid ""
769 "On older kernels where B<faccessat>() is unavailable (and when the "
770 "B<AT_EACCESS> and B<AT_SYMLINK_NOFOLLOW> flags are not specified), the glibc "
771 "wrapper function falls back to the use of B<access>(). When I<path> is "
772 "relative, glibc constructs a pathname based on the symbolic link in I</proc/"
773 "self/fd> that corresponds to the I<dirfd> argument."
774 msgstr ""
775 "В старых ядрах, где B<faccessat>() отсутствует (и если не указаны флаги "
776 "B<AT_EACCESS> и B<AT_SYMLINK_NOFOLLOW>), функция-обертка glibc использует "
777 "B<access>(). Если I<pathname> является относительным путём, то glibc "
778 "собирает путь относительно символической ссылки в I</proc/self/fd>, которая "
779 "соответствует аргументу I<dirfd>."
780
781 #. type: SH
782 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
783 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
784 #, no-wrap
785 msgid "STANDARDS"
786 msgstr "СТАНДАРТЫ"
787
788 #. type: TP
789 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
790 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
791 #, no-wrap
792 msgid "B<access>()"
793 msgstr "B<access>()"
794
795 #. type: TP
796 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
797 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
798 #, no-wrap
799 msgid "B<faccessat>()"
800 msgstr "B<faccessat>()"
801
802 #. type: Plain text
803 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
804 #: opensuse-tumbleweed
805 msgid "POSIX.1-2024."
806 msgstr "POSIX.1-2024."
807
808 #. type: TP
809 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
810 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
811 #, no-wrap
812 msgid "B<faccessat2>()"
813 msgstr "B<faccessat2>()"
814
815 #. type: Plain text
816 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
817 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
818 msgid "Linux."
819 msgstr "Linux."
820
821 #. type: SH
822 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
823 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
824 #, no-wrap
825 msgid "HISTORY"
826 msgstr "ИСТОРИЯ"
827
828 #. type: Plain text
829 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
830 #: opensuse-tumbleweed
831 #, fuzzy
832 #| msgid "4.4BSD, SVr4, POSIX.1-2001."
833 msgid "4.3BSD, SVr4, POSIX.1-1988."
834 msgstr "4.4BSD, SVr4, POSIX.1-2001."
835
836 #. type: Plain text
837 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
838 #: opensuse-tumbleweed
839 #, fuzzy
840 #| msgid "Linux 2.6.16, glibc 2.4."
841 msgid "Linux 2.6.16, glibc 2.4, POSIX.1-2008."
842 msgstr "Linux 2.6.16, glibc 2.4."
843
844 #. type: Plain text
845 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
846 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
847 msgid "Linux 5.8."
848 msgstr "Linux 5.8."
849
850 #. type: SH
851 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
852 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
853 #, no-wrap
854 msgid "NOTES"
855 msgstr "ПРИМЕЧАНИЯ"
856
857 #. type: Plain text
858 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
859 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
860 msgid ""
861 "B<Warning>: Using these calls to check if a user is authorized to, for "
862 "example, open a file before actually doing so using B<open>(2) creates a "
863 "security hole, because the user might exploit the short time interval "
864 "between checking and opening the file to manipulate it. B<For this reason, "
865 "the use of this system call should be avoided>. (In the example just "
866 "described, a safer alternative would be to temporarily switch the process's "
867 "effective user ID to the real ID and then call B<open>(2).)"
868 msgstr ""
869 "B<Warning > (предупреждение): Использование этих вызовов для проверки, "
870 "например, разрешено ли пользователю открытие файла перед действительным "
871 "выполнением B<open>(2), создаёт брешь в безопасности, так как пользователь "
872 "может использовать короткий промежуток времени между проверкой и открытием "
873 "файла для управления им. B<По этой причине лучше избегать использования "
874 "данного системного вызова> (в только что описанном примере, безопасной "
875 "альтернативой будет временное переключение эффективного пользовательского "
876 "идентификатора процесса на действительный идентификатор и вызов B<open>(2))."
877
878 #. type: Plain text
879 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
880 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
881 msgid ""
882 "B<access>() always dereferences symbolic links. If you need to check the "
883 "permissions on a symbolic link, use B<faccessat>() with the flag "
884 "B<AT_SYMLINK_NOFOLLOW>."
885 msgstr ""
886 "Вызов B<access>() всегда разыменовывает символьные ссылки. Если вам нужно "
887 "проверить права символьной ссылки, используйте вызов B<faccessat>() с флагом "
888 "B<AT_SYMLINK_NOFOLLOW>."
889
890 #. type: Plain text
891 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
892 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
893 msgid ""
894 "These calls return an error if any of the access types in I<mode> is denied, "
895 "even if some of the other access types in I<mode> are permitted."
896 msgstr ""
897 "Эти вызовы возвращают ошибку, если отказано в любом из типов доступа "
898 "I<mode>, даже если разрешены остальные типы."
899
900 #. type: Plain text
901 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
902 #: opensuse-tumbleweed
903 #, fuzzy
904 #| msgid ""
905 #| "A file is accessible only if the permissions on each of the directories "
906 #| "in the path prefix of I<pathname> grant search (i.e., execute) access. "
907 #| "If any directory is inaccessible, then the B<access>() call fails, "
908 #| "regardless of the permissions on the file itself."
909 msgid ""
910 "A file is accessible only if the permissions on each of the directories in "
911 "the path prefix of I<path> grant search (i.e., execute) access. If any "
912 "directory is inaccessible, then the B<access>() call fails, regardless of "
913 "the permissions on the file itself."
914 msgstr ""
915 "Файл доступен только в случае, если для каждого каталога в пути, указанном в "
916 "I<pathname>, имеется право выполнять поиск (то есть, установлен бит "
917 "выполнения). Если какой-то каталог недоступен, то вызов B<access>() "
918 "завершается ошибкой, независимо от имеющихся прав доступа к файлу."
919
920 #. type: Plain text
921 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
922 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
923 msgid ""
924 "Only access bits are checked, not the file type or contents. Therefore, if "
925 "a directory is found to be writable, it probably means that files can be "
926 "created in the directory, and not that the directory can be written as a "
927 "file. Similarly, a DOS file may be reported as executable, but the "
928 "B<execve>(2) call will still fail."
929 msgstr ""
930 "Проверяются только биты доступа, а не тип файла или его содержимое. "
931 "Следовательно, если обнаруживается, что каталог доступен для записи, это, "
932 "вероятно, означает, что в нем могут быть созданы файлы, а не то, что каталог "
933 "может быть записан в виде файла. Аналогично, файл DOS может быть указан как "
934 "исполняемый, но вызов B<execve>(2) все равно завершится ошибкой."
935
936 #. type: Plain text
937 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
938 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
939 msgid ""
940 "These calls may not work correctly on NFSv2 filesystems with UID mapping "
941 "enabled, because UID mapping is done on the server and hidden from the "
942 "client, which checks permissions. (NFS versions 3 and higher perform the "
943 "check on the server.) Similar problems can occur to FUSE mounts."
944 msgstr ""
945 "Эти вызовы B<access>() могут некорректно работать на файловых системах NFSv2 "
946 "со включённым преобразованием UID, потому что это преобразование происходит "
947 "на сервере и спрятано от клиента, который пытается проверить права (в NFS "
948 "версии 3 и выше выполняется проверка на сервере). Похожие проблемы могут "
949 "возникать при монтировании FUSE."
950
951 #. type: SH
952 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
953 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
954 #, no-wrap
955 msgid "BUGS"
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 "Because the Linux kernel's B<faccessat>() system call does not support a "
963 "I<flags> argument, the glibc B<faccessat>() wrapper function provided in "
964 "glibc 2.32 and earlier emulates the required functionality using a "
965 "combination of the B<faccessat>() system call and B<fstatat>(2). However, "
966 "this emulation does not take ACLs into account. Starting with glibc 2.33, "
967 "the wrapper function avoids this bug by making use of the B<faccessat2>() "
968 "system call where it is provided by the underlying kernel."
969 msgstr ""
970 "Поскольку системный вызов B<faccessat>() ядра Linux не поддерживает аргумент "
971 "I<flags>, функция-оболочка glibc B<faccessat>(), представленная в glibc 2.32 "
972 "и в более ранних версиях, эмулирует требуемую функциональность, используя "
973 "комбинацию системного вызова B<faccessat>() и B<fstatat>(2). Однако эта "
974 "эмуляция не учитывает списки управления доступом. Начиная с glibc 2.33, "
975 "функция-оболочка позволяет избежать этой ошибки, используя системный вызов "
976 "B<faccessat 2>(), который предоставляется основным ядром."
977
978 #. This behavior appears to have been an implementation accident.
979 #. type: Plain text
980 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
981 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
982 msgid ""
983 "In Linux 2.4 (and earlier) there is some strangeness in the handling of "
984 "B<X_OK> tests for superuser. If all categories of execute permission are "
985 "disabled for a nondirectory file, then the only B<access>() test that "
986 "returns -1 is when I<mode> is specified as just B<X_OK>; if B<R_OK> or "
987 "B<W_OK> is also specified in I<mode>, then B<access>() returns 0 for such "
988 "files. Early Linux 2.6 (up to and including Linux 2.6.3) also behaved in "
989 "the same way as Linux 2.4."
990 msgstr ""
991 "В Linux 2.4 (и более ранних версиях) есть некоторая странность в обработке "
992 "тестов B<X_OK> для суперпользователя. Если все категории разрешений на "
993 "выполнение отключены для файла, не относящегося к каталогу, то единственный "
994 "тест B<access>(), который возвращает значение -1, выполняется, когда I<mode> "
995 "указан как просто B<X_OK>; если B<R_OK> или B<W_OK> также указаны в I<mode>, "
996 "тогда функция B<access>() возвращает 0 для таких файлов. Ранний Linux 2.6 "
997 "(вплоть до Linux 2.6.3 включительно) также вел себя так же, как и Linux 2.4."
998
999 #. type: Plain text
1000 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1001 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1002 msgid ""
1003 "Before Linux 2.6.20, these calls ignored the effect of the B<MS_NOEXEC> flag "
1004 "if it was used to B<mount>(2) the underlying filesystem. Since Linux "
1005 "2.6.20, the B<MS_NOEXEC> flag is honored."
1006 msgstr ""
1007 "До Linux 2.6.20 эти вызовы игнорировали действие флага B<MS_NOEXEC>, если он "
1008 "использовался для B<mount>(2) базовой файловой системы. Начиная с Linux "
1009 "2.6.20, флаг B<MS_NOEXEC> поддерживается."
1010
1011 #. type: SH
1012 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1013 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1014 #, no-wrap
1015 msgid "SEE ALSO"
1016 msgstr "СМОТРИТЕ ТАКЖЕ"
1017
1018 #. type: Plain text
1019 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1020 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1021 msgid ""
1022 "B<chmod>(2), B<chown>(2), B<open>(2), B<setgid>(2), B<setuid>(2), "
1023 "B<stat>(2), B<euidaccess>(3), B<credentials>(7), B<path_resolution>(7), "
1024 "B<symlink>(7)"
1025 msgstr ""
1026 "B<chmod>(2), B<chown>(2), B<open>(2), B<setgid>(2), B<setuid>(2), "
1027 "B<stat>(2), B<euidaccess>(3), B<credentials>(7), B<path_resolution>(7), "
1028 "B<symlink>(7)"
1029
1030 #. type: TH
1031 #: debian-trixie
1032 #, no-wrap
1033 msgid "2024-06-13"
1034 msgstr "13 июня 2024 г."
1035
1036 #. type: TH
1037 #: debian-trixie
1038 #, no-wrap
1039 msgid "Linux man-pages 6.9.1"
1040 msgstr "Страницы руководства Linux 6.9.1"
1041
1042 #. type: Plain text
1043 #: debian-trixie
1044 msgid "Standard C library (I<libc>, I<-lc>)"
1045 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
1046
1047 #. type: Plain text
1048 #: debian-trixie fedora-44 fedora-rawhide
1049 #, no-wrap
1050 msgid "B<int access(const char *>I<pathname>B<, int >I<mode>B<);>\n"
1051 msgstr "B<int access(const char *>I<pathname>B<, int >I<mode>B<);>\n"
1052
1053 #. type: Plain text
1054 #: debian-trixie fedora-44 fedora-rawhide
1055 #, no-wrap
1056 msgid ""
1057 "B<int faccessat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<mode>B<, int >I<flags>B<);>\n"
1058 " /* But see C library/kernel differences, below */\n"
1059 msgstr ""
1060 "B<int faccessat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<mode>B<, int >I<flags>B<);>\n"
1061 " /* But see C library/kernel differences, below */\n"
1062
1063 #. type: Plain text
1064 #: debian-trixie fedora-44 fedora-rawhide
1065 #, no-wrap
1066 msgid ""
1067 "B<int syscall(SYS_faccessat2,>\n"
1068 "B< int >I<dirfd>B<, const char *>I<pathname>B<, int >I<mode>B<, int >I<flags>B<);>\n"
1069 msgstr ""
1070 "B<int syscall(SYS_faccessat2,>\n"
1071 "B< int >I<dirfd>B<, const char *>I<pathname>B<, int >I<mode>B<, int >I<flags>B<);>\n"
1072
1073 #. type: Plain text
1074 #: debian-trixie fedora-44 fedora-rawhide
1075 msgid ""
1076 "B<access>() checks whether the calling process can access the file "
1077 "I<pathname>. If I<pathname> is a symbolic link, it is dereferenced."
1078 msgstr ""
1079 "B<access> проверяет, имеет ли вызвавший процесс права доступа к файлу "
1080 "I<pathname>. Если I<pathname> является символьной ссылкой, то проверяются "
1081 "права доступа к файлу, на который она ссылается."
1082
1083 #. type: Plain text
1084 #: debian-trixie fedora-44 fedora-rawhide
1085 msgid ""
1086 "If the pathname given in I<pathname> is relative, then it is interpreted "
1087 "relative to the directory referred to by the file descriptor I<dirfd> "
1088 "(rather than relative to the current working directory of the calling "
1089 "process, as is done by B<access>() for a relative pathname)."
1090 msgstr ""
1091 "Если в I<pathname> задан относительный путь, то он считается относительно "
1092 "каталога, на который ссылается файловый дескриптор I<dirfd> (а не "
1093 "относительно текущего рабочего каталога вызывающего процесса, как это "
1094 "делается в B<access>())."
1095
1096 #. type: Plain text
1097 #: debian-trixie fedora-44 fedora-rawhide
1098 msgid ""
1099 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
1100 "then I<pathname> is interpreted relative to the current working directory of "
1101 "the calling process (like B<access>())."
1102 msgstr ""
1103 "Если в I<pathname> задан относительный путь и I<dirfd> равно специальному "
1104 "значению B<AT_FDCWD>, то I<pathname> рассматривается относительно текущего "
1105 "рабочего каталога вызывающего процесса (как B<access>())."
1106
1107 #. type: Plain text
1108 #: debian-trixie fedora-44 fedora-rawhide
1109 msgid "If I<pathname> is absolute, then I<dirfd> is ignored."
1110 msgstr "Если в I<pathname> задан абсолютный путь, то I<dirfd> игнорируется."
1111
1112 #. type: Plain text
1113 #: debian-trixie fedora-44 fedora-rawhide
1114 msgid ""
1115 "If I<pathname> is an empty string, operate on the file referred to by "
1116 "I<dirfd> (which may have been obtained using the B<open>(2) B<O_PATH> "
1117 "flag). In this case, I<dirfd> can refer to any type of file, not just a "
1118 "directory. If I<dirfd> is B<AT_FDCWD>, the call operates on the current "
1119 "working directory. This flag is Linux-specific; define B<_GNU_SOURCE> to "
1120 "obtain its definition."
1121 msgstr ""
1122 "Если значение I<pathname> равно пустой строке, то выполнять действие над "
1123 "файлом, на который указывает I<dirfd> (который может быть получен с помощью "
1124 "B<open>(2) с флагом B<O_PATH>). В этом случае, I<dirfd> может указывать на "
1125 "файл любого типа, а не только на каталог. Если I<dirfd> равно B<AT_FDCWD>, "
1126 "то вызов выполняет действие над текущим рабочим каталогом. Этот флаг есть "
1127 "только в Linux; для получения его определения определите B<_GNU_SOURCE>."
1128
1129 #. type: Plain text
1130 #: debian-trixie fedora-44 fedora-rawhide
1131 msgid ""
1132 "If I<pathname> is a symbolic link, do not dereference it: instead return "
1133 "information about the link itself."
1134 msgstr ""
1135 "Если значение I<pathname> является символьной ссылкой, не разыменовывать её, "
1136 "а выдать информацию о самой ссылке."
1137
1138 #. type: Plain text
1139 #: debian-trixie fedora-44 fedora-rawhide
1140 msgid ""
1141 "The requested access would be denied to the file, or search permission is "
1142 "denied for one of the directories in the path prefix of I<pathname>. (See "
1143 "also B<path_resolution>(7).)"
1144 msgstr ""
1145 "В запрошенном доступе к файлу будет отказано, или будет отказано в "
1146 "разрешении на поиск по одному из каталогов с префиксом пути I<pathname>. "
1147 "(Смотрите также B<path_resolution>(7))."
1148
1149 #. type: Plain text
1150 #: debian-trixie fedora-44 fedora-rawhide
1151 msgid ""
1152 "(B<faccessat>()) I<pathname> is relative but I<dirfd> is neither "
1153 "B<AT_FDCWD> (B<faccessat>()) nor a valid file descriptor."
1154 msgstr ""
1155 "(B<faccessat>()) I<pathname> является относительным, но I<dirfd> не является "
1156 "ни B<AT_FDCWD> (B<faccessat>()), ни допустимым файловым дескриптором."
1157
1158 #. type: Plain text
1159 #: debian-trixie fedora-44 fedora-rawhide
1160 msgid "I<pathname> points outside your accessible address space."
1161 msgstr ""
1162 "Аргумент I<pathname> указывает за пределы доступного адресного пространства."
1163
1164 #. type: Plain text
1165 #: debian-trixie fedora-44 fedora-rawhide
1166 msgid "Too many symbolic links were encountered in resolving I<pathname>."
1167 msgstr ""
1168 "Во время определения I<pathname> встретилось слишком много символьных ссылок."
1169
1170 #. type: Plain text
1171 #: debian-trixie fedora-44 fedora-rawhide
1172 msgid "I<pathname> is too long."
1173 msgstr "Слишком длинное значение аргумента I<pathname>."
1174
1175 #. type: Plain text
1176 #: debian-trixie fedora-44 fedora-rawhide
1177 msgid ""
1178 "A component of I<pathname> does not exist or is a dangling symbolic link."
1179 msgstr ""
1180 "Компонент пути I<pathname> не существует или является повисшей символьной "
1181 "ссылкой."
1182
1183 #. type: Plain text
1184 #: debian-trixie fedora-44 fedora-rawhide
1185 msgid ""
1186 "A component used as a directory in I<pathname> is not, in fact, a directory."
1187 msgstr ""
1188 "Компонент пути, использованный как каталог в I<pathname>, в действительности "
1189 "таковым не является."
1190
1191 #. type: Plain text
1192 #: debian-trixie fedora-44 fedora-rawhide
1193 msgid ""
1194 "(B<faccessat>()) I<pathname> is relative and I<dirfd> is a file descriptor "
1195 "referring to a file other than a directory."
1196 msgstr ""
1197 "(B<faccessat>()) Значение I<pathname> содержит относительный путь и "
1198 "I<dirfd> содержит файловый дескриптор, указывающий на файл, а не на каталог."
1199
1200 #. type: Plain text
1201 #: debian-trixie fedora-44 fedora-rawhide
1202 msgid ""
1203 "On older kernels where B<faccessat>() is unavailable (and when the "
1204 "B<AT_EACCESS> and B<AT_SYMLINK_NOFOLLOW> flags are not specified), the glibc "
1205 "wrapper function falls back to the use of B<access>(). When I<pathname> is "
1206 "a relative pathname, glibc constructs a pathname based on the symbolic link "
1207 "in I</proc/self/fd> that corresponds to the I<dirfd> argument."
1208 msgstr ""
1209 "В старых ядрах, где B<faccessat>() отсутствует (и если не указаны флаги "
1210 "B<AT_EACCESS> и B<AT_SYMLINK_NOFOLLOW>), функция-обертка glibc использует "
1211 "B<access>(). Если I<pathname> является относительным путём, то glibc "
1212 "собирает путь относительно символической ссылки в I</proc/self/fd>, которая "
1213 "соответствует аргументу I<dirfd>."
1214
1215 #. type: Plain text
1216 #: debian-trixie fedora-44 fedora-rawhide
1217 msgid "POSIX.1-2008."
1218 msgstr "POSIX.1-2008."
1219
1220 #. type: Plain text
1221 #: debian-trixie fedora-44 fedora-rawhide
1222 msgid "SVr4, 4.3BSD, POSIX.1-2001."
1223 msgstr "SVr4, 4.3BSD, POSIX.1-2001."
1224
1225 #. type: Plain text
1226 #: debian-trixie fedora-44 fedora-rawhide
1227 msgid "Linux 2.6.16, glibc 2.4."
1228 msgstr "Linux 2.6.16, glibc 2.4."
1229
1230 #. type: Plain text
1231 #: debian-trixie fedora-44 fedora-rawhide
1232 msgid ""
1233 "A file is accessible only if the permissions on each of the directories in "
1234 "the path prefix of I<pathname> grant search (i.e., execute) access. If any "
1235 "directory is inaccessible, then the B<access>() call fails, regardless of "
1236 "the permissions on the file itself."
1237 msgstr ""
1238 "Файл доступен только в случае, если для каждого каталога в пути, указанном в "
1239 "I<pathname>, имеется право выполнять поиск (то есть, установлен бит "
1240 "выполнения). Если какой-то каталог недоступен, то вызов B<access>() "
1241 "завершается ошибкой, независимо от имеющихся прав доступа к файлу."
1242
1243 #. type: TH
1244 #: fedora-44 fedora-rawhide
1245 #, no-wrap
1246 msgid "2024-07-23"
1247 msgstr "23 июля 2024 г."
1248
1249 #. type: TH
1250 #: fedora-44 fedora-rawhide
1251 #, no-wrap
1252 msgid "Linux man-pages 6.13"
1253 msgstr "Страницы руководства Linux 6.13"
1254
1255 #. type: TH
1256 #: mageia-cauldron
1257 #, no-wrap
1258 msgid "Linux man-pages 6.17"
1259 msgstr "Страницы руководства Linux 6.17"
1260
1261 #. type: TH
1262 #: opensuse-leap-16-1 opensuse-tumbleweed
1263 #, no-wrap
1264 msgid "Linux man-pages (unreleased)"
1265 msgstr "Страницы руководства Linux (не выпущены)"