Debian Codegraph @

po/ru/man7/path_resolution.7.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 # Alexey, 2016.
5 # Azamat Hackimov <[email protected]>, 2014-2017.
6 # kogamatranslator49 <[email protected]>, 2015.
7 # Darima Kogan <[email protected]>, 2014.
8 # Max Is <[email protected]>, 2016.
9 # Yuri Kozlov <[email protected]>, 2011-2019.
10 # Иван Павлов <[email protected]>, 2017.
11 msgid ""
12 msgstr ""
13 "Project-Id-Version: manpages-l10n\n"
14 "POT-Creation-Date: 2026-06-05 06:34+0200\n"
15 "PO-Revision-Date: 2024-12-21 19:50+0300\n"
16 "Last-Translator: Yuri Kozlov <[email protected]>\n"
17 "Language-Team: Russian <[email protected]>\n"
18 "Language: ru\n"
19 "MIME-Version: 1.0\n"
20 "Content-Type: text/plain; charset=UTF-8\n"
21 "Content-Transfer-Encoding: 8bit\n"
22 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
23 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
24 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
25 "X-Generator: Lokalize 2.0\n"
26
27 #. type: TH
28 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
29 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
30 #, no-wrap
31 msgid "path_resolution"
32 msgstr ""
33
34 #. type: TH
35 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
36 #: opensuse-tumbleweed
37 #, no-wrap
38 msgid "2026-02-08"
39 msgstr "8 февраля 2026 г."
40
41 #. type: TH
42 #: archlinux debian-unstable
43 #, fuzzy, no-wrap
44 #| msgid "Linux man-pages 6.17"
45 msgid "Linux man-pages 6.18"
46 msgstr "Справочные страницы Linux 6.17"
47
48 #. type: SH
49 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
50 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
51 #, no-wrap
52 msgid "NAME"
53 msgstr "НАИМЕНОВАНИЕ"
54
55 #. type: Plain text
56 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
57 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
58 msgid "path_resolution - how a pathname is resolved to a file"
59 msgstr "path_resolution - как путь преобразуется в файл"
60
61 #. type: SH
62 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
63 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
64 #, no-wrap
65 msgid "DESCRIPTION"
66 msgstr "ОПИСАНИЕ"
67
68 #. type: Plain text
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 msgid ""
72 "Some UNIX/Linux system calls have as parameter one or more filenames. A "
73 "filename (or pathname) is resolved as follows."
74 msgstr ""
75 "У некоторых системных вызовов UNIX/Linux есть параметр для указания одного "
76 "или нескольких имён файлов. Имя файла (или путь) преобразуется (resolved) "
77 "следующим образом."
78
79 #. type: SS
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid "Step 1: start of the resolution process"
84 msgstr "Шаг 1: запуск процесса преобразования"
85
86 #. type: Plain text
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 #, fuzzy
90 #| msgid ""
91 #| "If the pathname starts with the \\(aq/\\(aq character, the starting "
92 #| "lookup directory is the root directory of the calling process. (A "
93 #| "process inherits its root directory from its parent. Usually this will "
94 #| "be the root directory of the file hierarchy. A process may get a "
95 #| "different root directory by use of the B<chroot>(2) system call. A "
96 #| "process may get an entirely private mount namespace in case it\\(emor one "
97 #| "of its ancestors\\(emwas started by an invocation of the B<clone>(2) "
98 #| "system call that had the B<CLONE_NEWNS> flag set.) This handles the \\"
99 #| "(aq/\\(aq part of the pathname."
100 msgid ""
101 "If the pathname starts with the \\[aq]/\\[aq] character, the starting lookup "
102 "directory is the root directory of the calling process. A process inherits "
103 "its root directory from its parent. Usually this will be the root directory "
104 "of the file hierarchy. A process may get a different root directory by use "
105 "of the B<chroot>(2) system call, or may temporarily use a different root "
106 "directory by using B<openat2>(2) with the B<RESOLVE_IN_ROOT> flag set."
107 msgstr ""
108 "Если путь начинается с символа «/», то начальным каталогом поиска "
109 "назначается корневой каталог вызывающего процесса (процесс наследует свой "
110 "корневой каталог от родителя. Обычно, это корневой каталог файловой "
111 "иерархии. Процесс может получить другой корневой каталог, используя "
112 "системный вызов B<chroot>(2). Процесс может получить полностью закрытое "
113 "пространство имён монтирования когда он сам или один из его предков был "
114 "запущен системным вызовом B<clone>(2) с флагом B<CLONE_NEWNS>). Так "
115 "обрабатывается часть пути «/»."
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 msgid ""
121 "A process may get an entirely private mount namespace in case it\\[em]or one "
122 "of its ancestors\\[em]was started by an invocation of the B<clone>(2) "
123 "system call that had the B<CLONE_NEWNS> flag set. This handles the \\[aq]/\\"
124 "[aq] part of the pathname."
125 msgstr ""
126
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 #, fuzzy
131 #| msgid ""
132 #| "If the pathname does not start with the \\(aq/\\(aq character, the "
133 #| "starting lookup directory of the resolution process is the current "
134 #| "working directory of the process. (This is also inherited from the "
135 #| "parent. It can be changed by use of the B<chdir>(2) system call.)"
136 msgid ""
137 "If the pathname does not start with the \\[aq]/\\[aq] character, the "
138 "starting lookup directory of the resolution process is the current working "
139 "directory of the process \\[em] or in the case of B<openat>(2)-style system "
140 "calls, the I<dfd> argument (or the current working directory if B<AT_FDCWD> "
141 "is passed as the I<dfd> argument). The current working directory is "
142 "inherited from the parent, and can be changed by use of the B<chdir>(2) "
143 "system call."
144 msgstr ""
145 "Если путь не начинается с символа «/», то начальным каталогом поиска "
146 "процесса преобразование выбирается текущий рабочий каталог процесса (также "
147 "наследуемый от родителя; может быть системным вызовом B<chdir>(2))."
148
149 #. type: Plain text
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 #, fuzzy
153 #| msgid ""
154 #| "Pathnames starting with a \\(aq/\\(aq character are called absolute "
155 #| "pathnames. Pathnames not starting with a \\(aq/\\(aq are called relative "
156 #| "pathnames."
157 msgid ""
158 "Pathnames starting with a \\[aq]/\\[aq] character are called absolute "
159 "pathnames. Pathnames not starting with a \\[aq]/\\[aq] are called relative "
160 "pathnames."
161 msgstr ""
162 "Пути, начинающиеся с символа «/», называются абсолютными путями. Пути, не "
163 "начинающиеся с символа «/», называются относительными путями."
164
165 #. type: SS
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 #, no-wrap
169 msgid "Step 2: walk along the path"
170 msgstr "Шаг 2: обход пути"
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 #, fuzzy
176 #| msgid ""
177 #| "Set the current lookup directory to the starting lookup directory. Now, "
178 #| "for each nonfinal component of the pathname, where a component is a "
179 #| "substring delimited by \\(aq/\\(aq characters, this component is looked "
180 #| "up in the current lookup directory."
181 msgid ""
182 "Set the current lookup directory to the starting lookup directory. Now, for "
183 "each nonfinal component of the pathname, where a component is a substring "
184 "delimited by \\[aq]/\\[aq] characters, this component is looked up in the "
185 "current lookup directory."
186 msgstr ""
187 "Назначаем текущим каталогом поиска начальный каталог поиска. Теперь для "
188 "каждого не конечного компонента пути (подстрока, разделённая символами «/») "
189 "будет производиться поиск в текущем каталоге поиска."
190
191 #. type: Plain text
192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
194 msgid ""
195 "If the process does not have search permission on the current lookup "
196 "directory, an B<EACCES> error is returned (\"Permission denied\")."
197 msgstr ""
198 "Если у процесса нет права поиска в текущем каталоге просмотра, будет "
199 "возвращена ошибка B<EACCES> («Доступ запрещён»)."
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 msgid ""
205 "If the component is not found, an B<ENOENT> error is returned (\"No such "
206 "file or directory\")."
207 msgstr ""
208 "Если компонент не найдет, будет возвращена ошибка B<ENOENT> («Нет такого "
209 "файла или каталога»)."
210
211 #. type: Plain text
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 msgid ""
215 "If the component is found, but is neither a directory nor a symbolic link, "
216 "an B<ENOTDIR> error is returned (\"Not a directory\")."
217 msgstr ""
218 "Если компонент найден, но не является ни каталогом, ни символической "
219 "ссылкой, будет возвращена ошибка B<ENOTDIR> («Не является каталогом»)."
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 msgid ""
225 "If the component is found and is a directory, we set the current lookup "
226 "directory to that directory, and go to the next component."
227 msgstr ""
228 "Если компонент найден и является каталогом, значением текущего каталога "
229 "поиска устанавливается этот каталог, после чего осуществляется переход к "
230 "следующему компоненту."
231
232 #. type: Plain text
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, fuzzy
236 #| msgid ""
237 #| "If the component is found and is a symbolic link (symlink), we first "
238 #| "resolve this symbolic link (with the current lookup directory as starting "
239 #| "lookup directory). Upon error, that error is returned. If the result is "
240 #| "not a directory, an B<ENOTDIR> error is returned. If the resolution of "
241 #| "the symlink is successful and returns a directory, we set the current "
242 #| "lookup directory to that directory, and go to the next component. Note "
243 #| "that the resolution process here can involve recursion if the prefix "
244 #| "('dirname') component of a pathname contains a filename that is a "
245 #| "symbolic link that resolves to a directory (where the prefix component of "
246 #| "that directory may contain a symbolic link, and so on). In order to "
247 #| "protect the kernel against stack overflow, and also to protect against "
248 #| "denial of service, there are limits on the maximum recursion depth, and "
249 #| "on the maximum number of symbolic links followed. An B<ELOOP> error is "
250 #| "returned when the maximum is exceeded (\"Too many levels of symbolic "
251 #| "links\")."
252 msgid ""
253 "If the component is found and is a symbolic link, we first resolve this "
254 "symbolic link (with the current lookup directory as starting lookup "
255 "directory). Upon error, that error is returned. If the result is not a "
256 "directory, an B<ENOTDIR> error is returned. If the resolution of the "
257 "symbolic link is successful and returns a directory, we set the current "
258 "lookup directory to that directory, and go to the next component. Note that "
259 "the resolution process here can involve recursion if the prefix ('dirname') "
260 "component of a pathname contains a filename that is a symbolic link that "
261 "resolves to a directory (where the prefix component of that directory may "
262 "contain a symbolic link, and so on). In order to protect the kernel against "
263 "stack overflow, and also to protect against denial of service, there are "
264 "limits on the maximum recursion depth, and on the maximum number of symbolic "
265 "links followed. An B<ELOOP> error is returned when the maximum is exceeded "
266 "(\"Too many levels of symbolic links\")."
267 msgstr ""
268 "Если компонент найден и это символическая ссылка (symlink), то сначала мы "
269 "разрешаем эту символическую ссылку (от текущего каталога, как начального "
270 "пути поиска). При ошибках, возвращаем ошибку. Если результат не каталог, то "
271 "возвращается ошибка B<ENOTDIR>. Если разрешение символической ссылки удалось "
272 "и получен каталог, то мы назначаем этот каталог текущим каталогом поиска и "
273 "переходим к следующему компоненту. Заметим, что процесс разрешения здесь "
274 "может вызвать рекурсию, если компонент префикса («dirname») пути содержит "
275 "имя символической ссылки, которая разрешается в каталог (где префикс "
276 "компонента этого каталога может содержать символическую ссылку и т .д.). Для "
277 "защиты ядра от переполнения стека, а также от отказа в обслуживании, есть "
278 "ограничение на максимальную глубину рекурсии и на максимальное количество "
279 "переходов по символическим ссылкам. При превышении возвращается ошибка "
280 "B<ELOOP> («Слишком много уровней символических ссылок»)."
281
282 #. presently: max recursion depth during symlink resolution: 5
283 #. max total number of symbolic links followed: 40
284 #. _POSIX_SYMLOOP_MAX is 8
285 #. MAXSYMLINKS is 40
286 #. MAX_NESTED_LINKS
287 #. commit 894bc8c4662ba9daceafe943a5ba0dd407da5cd3
288 #. type: Plain text
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 #, fuzzy
292 #| msgid ""
293 #| "As currently implemented on Linux, the maximum number of symbolic links "
294 #| "that will be followed while resolving a pathname is 40. In kernels "
295 #| "before 2.6.18, the limit on the recursion depth was 5. Starting with "
296 #| "Linux 2.6.18, this limit was raised to 8. In Linux 4.2, the kernel's "
297 #| "pathname-resolution code was reworked to eliminate the use of recursion, "
298 #| "so that the only limit that remains is the maximum of 40 resolutions for "
299 #| "the entire pathname."
300 msgid ""
301 "As currently implemented on Linux, the maximum number of symbolic links that "
302 "will be followed while resolving a pathname is 40. Before Linux 2.6.18, the "
303 "limit on the recursion depth was 5. Starting with Linux 2.6.18, this limit "
304 "was raised to 8. In Linux 4.2, the kernel's pathname-resolution code was "
305 "reworked to eliminate the use of recursion, so that the only limit that "
306 "remains is the maximum of 40 resolutions for the entire pathname."
307 msgstr ""
308 "В текущей реализации Linux максимальное количество допустимых переходов по "
309 "символическим ссылкам при преобразовании пути равно 40. В ядрах до версии "
310 "2.6.18 ограничение глубины рекурсии было равно 5. Начиная с Linux 2.6.18, "
311 "это ограничение увеличилось до 8. В Linux 4.2 код ядра разрешения пути был "
312 "переработан и возникновение рекурсии больше не происходит, поэтому осталось "
313 "только ограничение на 40 разрешений для всего пути."
314
315 #. type: Plain text
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 msgid ""
319 "The resolution of symbolic links during this stage can be blocked by using "
320 "B<openat2>(2), with the B<RESOLVE_NO_SYMLINKS> flag set."
321 msgstr ""
322
323 #. type: SS
324 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
325 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
326 #, no-wrap
327 msgid "Step 3: find the final entry"
328 msgstr "Шаг 3: поиск последнего элемента"
329
330 #. type: Plain text
331 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
332 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
333 #, fuzzy
334 #| msgid ""
335 #| "The lookup of the final component of the pathname goes just like that of "
336 #| "all other components, as described in the previous step, with two "
337 #| "differences: (i) the final component need not be a directory (at least as "
338 #| "far as the path resolution process is concerned\\(emit may have to be a "
339 #| "directory, or a nondirectory, because of the requirements of the specific "
340 #| "system call), and (ii) it is not necessarily an error if the component is "
341 #| "not found\\(emmaybe we are just creating it. The details on the "
342 #| "treatment of the final entry are described in the manual pages of the "
343 #| "specific system calls."
344 msgid ""
345 "The lookup of the final component of the pathname goes just like that of all "
346 "other components, as described in the previous step, with two differences: "
347 "(i) the final component need not be a directory (at least as far as the path "
348 "resolution process is concerned\\[em]it may have to be a directory, or a "
349 "nondirectory, because of the requirements of the specific system call), and "
350 "(ii) it is not necessarily an error if the component is not found\\[em]maybe "
351 "we are just creating it. The details on the treatment of the final entry "
352 "are described in the manual pages of the specific system calls."
353 msgstr ""
354 "Поиск конечного компонента пути происходит таким же образом, как и всех "
355 "других компонентов, как было описано в предыдущем шаге, но с двумя "
356 "различиями: конечному компоненту не нужно быть каталогом (по крайней мере, "
357 "это не важно для процесса преобразования — он может быть каталогом или не "
358 "каталогом, в зависимости от требований определённого системного вызова), и "
359 "если компонент не найден это необязательна ошибка — возможно, его только "
360 "требуется создать. О том, чем считается последний элемент, описано в "
361 "справочных страницах соответствующих системных вызовов."
362
363 #. type: SS
364 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
365 #: opensuse-tumbleweed
366 #, fuzzy, no-wrap
367 #| msgid ". and .."
368 msgid "\\&.\\& and .."
369 msgstr ". и .."
370
371 #. type: Plain text
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 msgid ""
375 "By convention, every directory has the entries \".\" and \"..\", which refer "
376 "to the directory itself and to its parent directory, respectively."
377 msgstr ""
378 "По соглашению, в каждом каталоге есть записи «.» и «..», которые ссылаются "
379 "на сам каталог и на его родительских каталог, соответственно."
380
381 #. type: Plain text
382 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
383 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
384 msgid ""
385 "The path resolution process will assume that these entries have their "
386 "conventional meanings, regardless of whether they are actually present in "
387 "the physical filesystem."
388 msgstr ""
389 "Процесс определения пути предполагает, что эти записи имеют свои "
390 "общепринятые значения, независимо от того, присутствуют ли они на самом деле "
391 "в физической файловой системе."
392
393 #. type: Plain text
394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
396 #, fuzzy
397 #| msgid "One cannot walk down past the root: \"/..\" is the same as \"/\"."
398 msgid "One cannot walk up past the root: \"/..\" is the same as \"/\"."
399 msgstr "Невозможно перейти за пределы корня: путь «/..» равен «/»."
400
401 #. type: SS
402 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
403 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
404 #, no-wrap
405 msgid "Mount points"
406 msgstr "Точки монтирования"
407
408 #. type: Plain text
409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
411 #, fuzzy
412 #| msgid ""
413 #| "After a \"mount dev path\" command, the pathname \"path\" refers to the "
414 #| "root of the filesystem hierarchy on the device \"dev\", and no longer to "
415 #| "whatever it referred to earlier."
416 msgid ""
417 "After a I<mount dev path> command, the pathname \"path\" refers to the root "
418 "of the filesystem hierarchy on the device \"dev\", and no longer to whatever "
419 "it referred to earlier."
420 msgstr ""
421 "После команды «mount устройство путь» путь указывает на корень иерархии "
422 "файловой системы устройства, и больше не указывает на то, что было раньше."
423
424 #. type: Plain text
425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
426 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
427 msgid ""
428 "One can walk out of a mounted filesystem: \"path/..\" refers to the parent "
429 "directory of \"path\", outside of the filesystem hierarchy on \"dev\"."
430 msgstr ""
431 "Можно выйти за пределы смонтированной файловой системы: «путь/..» указывает "
432 "на родительский каталог «пути», лежащий вне иерархии файловой системы "
433 "устройства."
434
435 #. type: Plain text
436 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
437 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
438 msgid ""
439 "Traversal of mount points can be blocked by using B<openat2>(2), with the "
440 "B<RESOLVE_NO_XDEV> flag set (though note that this also restricts bind mount "
441 "traversal)."
442 msgstr ""
443
444 #. type: SS
445 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
446 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
447 #, no-wrap
448 msgid "Trailing slashes"
449 msgstr "Конечные символы косой черты"
450
451 #. type: Plain text
452 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
453 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
454 #, fuzzy
455 #| msgid ""
456 #| "If a pathname ends in a \\(aq/\\(aq, that forces resolution of the "
457 #| "preceding component as in Step 2: it has to exist and resolve to a "
458 #| "directory. Otherwise, a trailing \\(aq/\\(aq is ignored. (Or, "
459 #| "equivalently, a pathname with a trailing \\(aq/\\(aq is equivalent to the "
460 #| "pathname obtained by appending \\(aq.\\(aq to it.)"
461 msgid ""
462 "If a pathname ends in a \\[aq]/\\[aq], that forces resolution of the "
463 "preceding component as in Step 2: the component preceding the slash either "
464 "exists and resolves to a directory or it names a directory that is to be "
465 "created immediately after the pathname is resolved. Otherwise, a trailing \\"
466 "[aq]/\\[aq] is ignored."
467 msgstr ""
468 "Если путь заканчивается на «/», то это приводит к обработке предыдущего "
469 "компонента согласно шагу 2: он существует и преобразуется в каталог. В "
470 "противном случае конечный «/» будет проигнорирован (или, что тоже самое, "
471 "путь с конечной косой чертой «/» будет равен пути, полученному добавлением к "
472 "его концу «.»)."
473
474 #. type: SS
475 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
476 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
477 #, fuzzy, no-wrap
478 #| msgid "Final symlink"
479 msgid "Final symbolic link"
480 msgstr "Символьная ссылка в конце"
481
482 #. type: Plain text
483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
485 #, fuzzy
486 #| msgid ""
487 #| "If the last component of a pathname is a symbolic link, then it depends "
488 #| "on the system call whether the file referred to will be the symbolic link "
489 #| "or the result of path resolution on its contents. For example, the "
490 #| "system call B<lstat>(2) will operate on the symlink, while B<stat>(2) "
491 #| "operates on the file pointed to by the symlink."
492 msgid ""
493 "If the last component of a pathname is a symbolic link, then it depends on "
494 "the system call whether the file referred to will be the symbolic link or "
495 "the result of path resolution on its contents. For example, the system call "
496 "B<lstat>(2) will operate on the symbolic link, while B<stat>(2) operates "
497 "on the file pointed to by the symbolic link."
498 msgstr ""
499 "Если последний компонент пути является символической ссылкой, то это зависит "
500 "от системного вызова, будет ли файл указывать на саму символическую ссылку "
501 "или на её содержимое. Например, системный вызов B<lstat>(2) будет работать с "
502 "символической ссылкой, а B<stat>(2) работает с файлом, на который указывает "
503 "символическая ссылка."
504
505 #. type: SS
506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
508 #, no-wrap
509 msgid "Length limit"
510 msgstr "Ограничение длины"
511
512 #. type: Plain text
513 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
514 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
515 msgid ""
516 "There is a maximum length for pathnames. If the pathname (or some "
517 "intermediate pathname obtained while resolving symbolic links) is too long, "
518 "an B<ENAMETOOLONG> error is returned (\"Filename too long\")."
519 msgstr ""
520 "Существует максимально допустимая длина пути. Если путь (или какой-нибудь "
521 "промежуточный путь, полученный при разрешении символических ссылок) очень "
522 "длинный, то возвращается B<ENAMETOOLONG> («Имя файла очень длинное»)."
523
524 #. type: SS
525 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
526 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
527 #, no-wrap
528 msgid "Empty pathname"
529 msgstr "Пустой путь"
530
531 #. type: Plain text
532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
534 msgid ""
535 "In the original UNIX, the empty pathname referred to the current directory. "
536 "Nowadays POSIX decrees that an empty pathname must not be resolved "
537 "successfully. Linux returns B<ENOENT> in this case."
538 msgstr ""
539 "В оригинальном UNIX, пустой путь считался текущим каталогом. В наши дни в "
540 "POSIX указано, что пустой путь не должен быть преобразован без ошибки. В "
541 "Linux в этом случае возвращается B<ENOENT>."
542
543 #. type: SS
544 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
545 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
546 #, no-wrap
547 msgid "Permissions"
548 msgstr "Права доступа"
549
550 #. type: Plain text
551 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
552 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
553 msgid ""
554 "The permission bits of a file consist of three groups of three bits; see "
555 "B<chmod>(1) and B<stat>(2). The first group of three is used when the "
556 "effective user ID of the calling process equals the owner ID of the file. "
557 "The second group of three is used when the group ID of the file either "
558 "equals the effective group ID of the calling process, or is one of the "
559 "supplementary group IDs of the calling process (as set by B<setgroups>(2)). "
560 "When neither holds, the third group is used."
561 msgstr ""
562 "Биты прав файла делятся на три группы по три бита; смотрите B<chmod>(1) и "
563 "B<stat>(2). Первая группа используется тогда, когда эффективный "
564 "идентификатор пользователя вызывающего процесса равен идентификатору "
565 "владельца файла. Вторая группа используется, если идентификатор группы файла "
566 "равен эффективному идентификатору группы вызывающего процесса или одному из "
567 "дополнительных групп вызывающего процесса (установленных B<setgroups>(2)). В "
568 "остальных случаях используется третья группа."
569
570 #. type: Plain text
571 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
572 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
573 msgid ""
574 "Of the three bits used, the first bit determines read permission, the second "
575 "write permission, and the last execute permission in case of ordinary files, "
576 "or search permission in case of directories."
577 msgstr ""
578 "Три бита используются следующим образом: первым битом задаётся доступ на "
579 "чтение, вторым на запись, а последним, в случае обычных файлов — разрешение "
580 "на выполнение, в в случае каталогов разрешение на поиск."
581
582 #. type: Plain text
583 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
584 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
585 msgid ""
586 "Linux uses the fsuid instead of the effective user ID in permission checks. "
587 "Ordinarily the fsuid will equal the effective user ID, but the fsuid can be "
588 "changed by the system call B<setfsuid>(2)."
589 msgstr ""
590 "Для проверки доступа в Linux используется fsuid вместо эффективного "
591 "идентификатора пользователя. Обычно, fsuid равен эффективному идентификатору "
592 "пользователя, fsuid может быть изменён системным вызовом B<setfsuid>(2)."
593
594 #. type: Plain text
595 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
596 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
597 msgid ""
598 "(Here \"fsuid\" stands for something like \"filesystem user ID\". The "
599 "concept was required for the implementation of a user space NFS server at a "
600 "time when processes could send a signal to a process with the same effective "
601 "user ID. It is obsolete now. Nobody should use B<setfsuid>(2).)"
602 msgstr ""
603 "(Здесь «fsuid» сокращение от «пользовательский идентификатор в файловой "
604 "системе, filesystem user ID». Это требовалось для реализации сервера NFS в "
605 "пользовательском пространстве во времена, когда процессы могли посылать "
606 "сигнал процессу с тем же эффективным идентификатором пользователя. Сейчас "
607 "это устарело. Никто не должен использовать B<setfsuid>(2).)"
608
609 #. FIXME . say something about filesystem mounted read-only ?
610 #. type: Plain text
611 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
612 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
613 msgid ""
614 "Similarly, Linux uses the fsgid (\"filesystem group ID\") instead of the "
615 "effective group ID. See B<setfsgid>(2)."
616 msgstr ""
617 "Схожим образом в Linux используется fsgid (\"filesystem group ID\") вместо "
618 "идентификатора эффективной группы. Смотрите B<setfsgid>(2)."
619
620 #. type: SS
621 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
622 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
623 #, no-wrap
624 msgid "Bypassing permission checks: superuser and capabilities"
625 msgstr "Пропуск проверки прав доступа: суперпользователь и мандаты"
626
627 #. #-#-#-#-# archlinux: path_resolution.7.pot (PACKAGE VERSION) #-#-#-#-#
628 #. (but for exec at least one x bit must be set) -- AEB
629 #. but there is variation across systems on this point: for
630 #. example, HP-UX and Tru64 are as described by AEB. However,
631 #. on some implementations (e.g., Solaris, FreeBSD),
632 #. access(X_OK) by superuser will report success, regardless
633 #. of the file's execute permission bits. -- MTK (Oct 05)
634 #. type: Plain text
635 #. #-#-#-#-# debian-trixie: path_resolution.7.pot (PACKAGE VERSION) #-#-#-#-#
636 #. (but for exec at least one x bit must be set) -- AEB
637 #. but there is variation across systems on this point: for
638 #. example, HP-UX and Tru64 are as described by AEB. However,
639 #. on some implementations (e.g., Solaris, FreeBSD),
640 #. access(X_OK) by superuser will report success, regardless
641 #. of the file's execute permission bits. -- MTK (Oct 05)
642 #. type: Plain text
643 #. #-#-#-#-# debian-unstable: path_resolution.7.pot (PACKAGE VERSION) #-#-#-#-#
644 #. (but for exec at least one x bit must be set) -- AEB
645 #. but there is variation across systems on this point: for
646 #. example, HP-UX and Tru64 are as described by AEB. However,
647 #. on some implementations (e.g., Solaris, FreeBSD),
648 #. access(X_OK) by superuser will report success, regardless
649 #. of the file's execute permission bits. -- MTK (Oct 05)
650 #. type: Plain text
651 #. #-#-#-#-# fedora-44: path_resolution.7.pot (PACKAGE VERSION) #-#-#-#-#
652 #. (but for exec at least one x bit must be set) -- AEB
653 #. but there is variation across systems on this point: for
654 #. example, HP-UX and Tru64 are as described by AEB. However,
655 #. on some implementations (e.g., Solaris, FreeBSD),
656 #. access(X_OK) by superuser will report success, regardless
657 #. of the file's execute permission bits. -- MTK (Oct 05)
658 #. type: Plain text
659 #. #-#-#-#-# fedora-rawhide: path_resolution.7.pot (PACKAGE VERSION) #-#-#-#-#
660 #. (but for exec at least one x bit must be set) -- AEB
661 #. but there is variation across systems on this point: for
662 #. example, HP-UX and Tru64 are as described by AEB. However,
663 #. on some implementations (e.g., Solaris, FreeBSD),
664 #. access(X_OK) by superuser will report success, regardless
665 #. of the file's execute permission bits. -- MTK (Oct 05)
666 #. type: Plain text
667 #. #-#-#-#-# mageia-cauldron: path_resolution.7.pot (PACKAGE VERSION) #-#-#-#-#
668 #. (but for exec at least one x bit must be set) -- AEB
669 #. but there is variation across systems on this point: for
670 #. example, HP-UX and Tru64 are as described by AEB. However,
671 #. on some implementations (e.g., Solaris, FreeBSD),
672 #. access(X_OK) by superuser will report success, regardless
673 #. of the file's execute permission bits. -- MTK (Oct 05)
674 #. type: Plain text
675 #. #-#-#-#-# opensuse-leap-16-1: path_resolution.7.pot (PACKAGE VERSION) #-#-#-#-#
676 #. (but for exec at least one x bit must be set) -- AEB
677 #. but there is variation across systems on this point: for
678 #. example, HP-UX and Tru64 are as described by AEB. However,
679 #. on some implementations (e.g., Solaris, FreeBSD),
680 #. access(X_OK) by superuser will report success, regardless
681 #. of the file's execute permission bits. -- MTK (Oct 05)
682 #. type: Plain text
683 #. #-#-#-#-# opensuse-tumbleweed: path_resolution.7.pot (PACKAGE VERSION) #-#-#-#-#
684 #. (but for exec at least one x bit must be set) -- AEB
685 #. but there is variation across systems on this point: for
686 #. example, HP-UX and Tru64 are as described by AEB. However,
687 #. on some implementations (e.g., Solaris, FreeBSD),
688 #. access(X_OK) by superuser will report success, regardless
689 #. of the file's execute permission bits. -- MTK (Oct 05)
690 #. type: Plain text
691 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
692 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
693 msgid ""
694 "On a traditional UNIX system, the superuser (I<root>, user ID 0) is all-"
695 "powerful, and bypasses all permissions restrictions when accessing files."
696 msgstr ""
697 "В традиционных системах UNIX суперпользователю (I<root>, идентификатор "
698 "пользователя 0) доступно всё и при доступе к файлам никаких проверок "
699 "ограничений не производится."
700
701 #. type: Plain text
702 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
703 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
704 msgid ""
705 "On Linux, superuser privileges are divided into capabilities (see "
706 "B<capabilities>(7)). Two capabilities are relevant for file permissions "
707 "checks: B<CAP_DAC_OVERRIDE> and B<CAP_DAC_READ_SEARCH>. (A process has "
708 "these capabilities if its fsuid is 0.)"
709 msgstr ""
710 "В Linux права суперпользователя делятся мандатами (смотрите "
711 "B<capabilities>(7)). Два мандата относятся к проверка доступа к файлам: "
712 "B<CAP_DAC_OVERRIDE> и B<CAP_DAC_READ_SEARCH> (процесс имеет эти мандаты, "
713 "если его fsuid равен 0)."
714
715 #. type: Plain text
716 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
717 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
718 msgid ""
719 "The B<CAP_DAC_OVERRIDE> capability overrides all permission checking, but "
720 "grants execute permission only when at least one of the file's three execute "
721 "permission bits is set."
722 msgstr ""
723 "Мандат B<CAP_DAC_OVERRIDE> заменяет всех проверки прав, но позволяет право "
724 "выполнения только, когда установлен хотя бы один из трёх битов выполнения "
725 "файла."
726
727 #. FIXME . say something about immutable files
728 #. FIXME . say something about ACLs
729 #. type: Plain text
730 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
731 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
732 msgid ""
733 "The B<CAP_DAC_READ_SEARCH> capability grants read and search permission on "
734 "directories, and read permission on ordinary files."
735 msgstr ""
736 "Мандат B<CAP_DAC_READ_SEARCH> разрешает чтение и поиск в по каталогу, а "
737 "также чтение обычных файлов."
738
739 #. type: SH
740 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
741 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
742 #, no-wrap
743 msgid "SEE ALSO"
744 msgstr "СМОТРИТЕ ТАКЖЕ"
745
746 #. type: Plain text
747 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
748 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
749 msgid "B<readlink>(2), B<capabilities>(7), B<credentials>(7), B<symlink>(7)"
750 msgstr "B<readlink>(2), B<capabilities>(7), B<credentials>(7), B<symlink>(7)"
751
752 #. type: TH
753 #: debian-trixie fedora-44 fedora-rawhide
754 #, no-wrap
755 msgid "2024-05-02"
756 msgstr "2 мая 2024 г."
757
758 #. type: TH
759 #: debian-trixie
760 #, no-wrap
761 msgid "Linux man-pages 6.9.1"
762 msgstr "Страницы руководства Linux 6.9.1"
763
764 #. type: SS
765 #: debian-trixie fedora-44 fedora-rawhide
766 #, fuzzy, no-wrap
767 #| msgid ". and .."
768 msgid "\\&. and .."
769 msgstr ". и .."
770
771 #. type: TH
772 #: fedora-44 fedora-rawhide
773 #, no-wrap
774 msgid "Linux man-pages 6.13"
775 msgstr "Страницы руководства Linux 6.13"
776
777 #. type: TH
778 #: mageia-cauldron
779 #, no-wrap
780 msgid "Linux man-pages 6.17"
781 msgstr "Страницы руководства Linux 6.17"
782
783 #. type: TH
784 #: opensuse-leap-16-1 opensuse-tumbleweed
785 #, no-wrap
786 msgid "Linux man-pages (unreleased)"
787 msgstr "Страницы руководства Linux (не выпущены)"