Debian Codegraph @

po/ru/man2/umask.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 # Azamat Hackimov <[email protected]>, 2013, 2016.
5 # Dmitriy Ovchinnikov <[email protected]>, 2012.
6 # Dmitry Bolkhovskikh <[email protected]>, 2017.
7 # Katrin Kutepova <[email protected]>, 2018.
8 # Yuri Kozlov <[email protected]>, 2011-2019.
9 # Иван Павлов <[email protected]>, 2017.
10 msgid ""
11 msgstr ""
12 "Project-Id-Version: manpages-l10n\n"
13 "POT-Creation-Date: 2026-06-05 06:49+0200\n"
14 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
15 "Last-Translator: Yuri Kozlov <[email protected]>\n"
16 "Language-Team: Russian <[email protected]>\n"
17 "Language: ru\n"
18 "MIME-Version: 1.0\n"
19 "Content-Type: text/plain; charset=UTF-8\n"
20 "Content-Transfer-Encoding: 8bit\n"
21 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
22 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
23 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
24 "X-Generator: Lokalize 2.0\n"
25
26 #. type: TH
27 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
28 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
29 #, no-wrap
30 msgid "umask"
31 msgstr "umask"
32
33 #. type: TH
34 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
35 #: opensuse-tumbleweed
36 #, no-wrap
37 msgid "2026-02-08"
38 msgstr "8 февраля 2026 г."
39
40 #. type: TH
41 #: archlinux debian-unstable
42 #, fuzzy, no-wrap
43 #| msgid "Linux man-pages 6.17"
44 msgid "Linux man-pages 6.18"
45 msgstr "Справочные страницы Linux 6.17"
46
47 #. type: SH
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 #, no-wrap
51 msgid "NAME"
52 msgstr "НАИМЕНОВАНИЕ"
53
54 #. type: Plain text
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 msgid "umask - set file mode creation mask"
58 msgstr "umask - устанавливает маску создания режима доступа к файлу"
59
60 #. type: SH
61 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
62 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
63 #, no-wrap
64 msgid "LIBRARY"
65 msgstr "БИБЛИОТЕКА"
66
67 #. type: Plain text
68 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
69 #: opensuse-leap-16-1 opensuse-tumbleweed
70 msgid "Standard C library (I<libc>,\\ I<-lc>)"
71 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
72
73 #. type: SH
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "SYNOPSIS"
78 msgstr "СИНТАКСИС"
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid "B<#include E<lt>sys/stat.hE<gt>>\n"
85 msgstr "B<#include E<lt>sys/stat.hE<gt>>\n"
86
87 #. type: Plain text
88 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
89 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
90 #, no-wrap
91 msgid "B<mode_t umask(mode_t >I<mask>B<);>\n"
92 msgstr "B<mode_t umask(mode_t >I<mask>B<);>\n"
93
94 #. type: SH
95 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
96 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
97 #, no-wrap
98 msgid "DESCRIPTION"
99 msgstr "ОПИСАНИЕ"
100
101 #. type: Plain text
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 msgid ""
105 "B<umask>() sets the calling process's file mode creation mask (umask) to "
106 "I<mask> & 0777 (i.e., only the file permission bits of I<mask> are used), "
107 "and returns the previous value of the mask."
108 msgstr ""
109 "B<umask>() устанавливает в вызывающем процессе значение маски (umask) "
110 "создания режима доступа к файлу равным I<mask> & 0777 (т.е. из I<mask> "
111 "используются только биты прав доступа к файлу) и возвращает предыдущее "
112 "значение маски."
113
114 #. e.g., mkfifo(), creat(), mknod(), sem_open(), mq_open(), shm_open()
115 #. but NOT the System V IPC *get() calls
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
119 msgid ""
120 "The umask is used by B<open>(2), B<mkdir>(2), and other system calls that "
121 "create files to modify the permissions placed on newly created files or "
122 "directories. Specifically, permissions in the umask are turned off from the "
123 "I<mode> argument to B<open>(2) and B<mkdir>(2)."
124 msgstr ""
125 "Значение umask используется в B<open>(2), B<mkdir>(2) и других системных "
126 "вызовах, которые создают файлы, для изменения прав, назначаемых на "
127 "создаваемые файлы или каталоги. В частности, права в umask исключаются из "
128 "аргумента I<mode> у вызовов B<open>(2) и B<mkdir>(2)."
129
130 #. type: Plain text
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 msgid ""
134 "Alternatively, if the parent directory has a default ACL (see B<acl>(5)), "
135 "the umask is ignored, the default ACL is inherited, the permission bits are "
136 "set based on the inherited ACL, and permission bits absent in the I<mode> "
137 "argument are turned off. For example, the following default ACL is "
138 "equivalent to a umask of 022:"
139 msgstr ""
140 "Также, если у родительского каталога указан ACL по умолчанию (смотрите "
141 "B<acl>(5)), то umask игнорируется, выполняется наследование ACL по "
142 "умолчанию, бита прав назначаются согласно унаследованному ACL, а биты прав, "
143 "отсутствующие в аргументе I<mode>, выключаются. Например, следующий ACL по "
144 "умолчанию эквивалентен umask 022:"
145
146 #. type: Plain text
147 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
148 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
149 #, no-wrap
150 msgid "u::rwx,g::r-x,o::r-x\n"
151 msgstr "u::rwx,g::r-x,o::r-x\n"
152
153 #. type: Plain text
154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
156 msgid ""
157 "Combining the effect of this default ACL with a I<mode> argument of 0666 (rw-"
158 "rw-rw-), the resulting file permissions would be 0644 (rw-r--r--)."
159 msgstr ""
160 "Объединение эффекта этого ACL по умолчанию с аргументом I<mode> 0666 (rw-rw-"
161 "rw-) приводит установке прав на файл 0644 (rw-r--r--)."
162
163 #. type: Plain text
164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
166 msgid ""
167 "The constants that should be used to specify I<mask> are described in "
168 "B<inode>(7)."
169 msgstr ""
170 "Константы, которые нужно использовать в I<mask>, описаны в B<inode>(7)."
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 msgid ""
176 "The typical default value for the process umask is B<S_IWGRP> | B<S_IWOTH> "
177 "(octal 022). In the usual case where the I<mode> argument to B<open>(2) is "
178 "specified as:"
179 msgstr ""
180 "Типичным значением umask в процессе является B<S_IWGRP> | B<S_IWOTH> "
181 "(восьмеричное 022). Обычно, когда аргумент I<mode> у B<open>(2) задаётся как:"
182
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 #, no-wrap
187 msgid "B<S_IRUSR> | B<S_IWUSR> | B<S_IRGRP> | B<S_IWGRP> | B<S_IROTH> | B<S_IWOTH>\n"
188 msgstr "B<S_IRUSR> | B<S_IWUSR> | B<S_IRGRP> | B<S_IWGRP> | B<S_IROTH> | B<S_IWOTH>\n"
189
190 #. type: Plain text
191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
193 msgid ""
194 "(octal 0666) when creating a new file, the permissions on the resulting file "
195 "will be:"
196 msgstr ""
197 "(восьмеричное 0666) при создании файла, права получившегося файла будут:"
198
199 #. type: Plain text
200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
202 #, no-wrap
203 msgid "B<S_IRUSR> | B<S_IWUSR> | B<S_IRGRP> | B<S_IROTH>\n"
204 msgstr "B<S_IRUSR> | B<S_IWUSR> | B<S_IRGRP> | B<S_IROTH>\n"
205
206 #. type: Plain text
207 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
208 #: opensuse-tumbleweed
209 #, fuzzy
210 #| msgid "(because 0666 & \\[ti]022 = 0644; i.e. rw-r--r--)."
211 msgid "(because 0666 & \\[ti]022 = 0644; i.e., rw-r--r--)."
212 msgstr "(так как 0666 & \\[ti]022 = 0644; i.e. rw-r--r--)."
213
214 #. type: SH
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 #, no-wrap
218 msgid "RETURN VALUE"
219 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
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 "This system call always succeeds and the previous value of the mask is "
226 "returned."
227 msgstr ""
228 "Данный системный вызов всегда выполняется успешно и возвращает предыдущее "
229 "значение маски."
230
231 #. type: SH
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 #, no-wrap
235 msgid "STANDARDS"
236 msgstr "СТАНДАРТЫ"
237
238 #. type: Plain text
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 msgid "POSIX.1-2008."
242 msgstr "POSIX.1-2008."
243
244 #. type: SH
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "HISTORY"
249 msgstr "ИСТОРИЯ"
250
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 msgid "POSIX.1-2001, SVr4, 4.3BSD."
255 msgstr "POSIX.1-2001, SVr4, 4.3BSD."
256
257 #. type: SH
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 #, no-wrap
261 msgid "NOTES"
262 msgstr "ПРИМЕЧАНИЯ"
263
264 #. type: Plain text
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 msgid ""
268 "A child process created via B<fork>(2) inherits its parent's umask. The "
269 "umask is left unchanged by B<execve>(2)."
270 msgstr ""
271 "Дочерний процесс, созданный с помощью B<fork>(2), наследует umask родителя. "
272 "Значение umask не изменяется при вызове B<execve>(2)."
273
274 #. type: Plain text
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 msgid ""
278 "It is impossible to use B<umask>() to fetch a process's umask without at "
279 "the same time changing it. A second call to B<umask>() would then be "
280 "needed to restore the umask. The nonatomicity of these two steps provides "
281 "the potential for races in multithreaded programs."
282 msgstr ""
283 "Невозможно использовать B<umask>() для получения umask процесса без её "
284 "изменения. Для восстановления umask требуется второй вызов B<umask>(). "
285 "Неатомарность этих двух шагов приводит к появлению состязательности в "
286 "многонитевых программах."
287
288 #. type: Plain text
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 msgid ""
292 "Since Linux 4.7, the umask of any process can be viewed via the I<Umask> "
293 "field of I</proc/>pidI</status>. Inspecting this field in I</proc/self/"
294 "status> allows a process to retrieve its umask without at the same time "
295 "changing it."
296 msgstr ""
297 "Начиная с Linux 4.7 значение umask любого процесса доступно в поле I<Umask> "
298 "файла I</proc/>pidI</status>. Просмотр этого поля в I</proc/self/status> "
299 "позволяет процессу узнать свою umask без её изменения."
300
301 #. type: Plain text
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 msgid ""
305 "The umask setting also affects the permissions assigned to POSIX IPC objects "
306 "(B<mq_open>(3), B<sem_open>(3), B<shm_open>(3)), FIFOs (B<mkfifo>(3)), and "
307 "UNIX domain sockets (B<unix>(7)) created by the process. The umask does "
308 "not affect the permissions assigned to System\\ V IPC objects created by the "
309 "process (using B<msgget>(2), B<semget>(2), B<shmget>(2))."
310 msgstr ""
311 "Настройка umask также влияет на права, назначаемые IPC-объектам POSIX "
312 "(B<mq_open>(3), B<sem_open>(3), B<shm_open>(3)), FIFO (B<mkfifo>(3)) и "
313 "доменным сокетам UNIX (B<unix>(7)), создаваемых процессом. Значение umask не "
314 "влияет на права, назначаемые IPC-объектам System\\ V, создаваемых процессом "
315 "(с помощью B<msgget>(2), B<semget>(2), B<shmget>(2))."
316
317 #. type: SH
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 #, no-wrap
321 msgid "SEE ALSO"
322 msgstr "СМОТРИТЕ ТАКЖЕ"
323
324 #. type: Plain text
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 msgid "B<chmod>(2), B<mkdir>(2), B<open>(2), B<stat>(2), B<acl>(5)"
328 msgstr "B<chmod>(2), B<mkdir>(2), B<open>(2), B<stat>(2), B<acl>(5)"
329
330 #. type: TH
331 #: debian-trixie
332 #, no-wrap
333 msgid "2024-05-02"
334 msgstr "2 мая 2024 г."
335
336 #. type: TH
337 #: debian-trixie
338 #, no-wrap
339 msgid "Linux man-pages 6.9.1"
340 msgstr "Страницы руководства Linux 6.9.1"
341
342 #. type: Plain text
343 #: debian-trixie
344 msgid "Standard C library (I<libc>, I<-lc>)"
345 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
346
347 #. type: Plain text
348 #: debian-trixie fedora-44 fedora-rawhide
349 msgid "(because 0666 & \\[ti]022 = 0644; i.e. rw-r--r--)."
350 msgstr "(так как 0666 & \\[ti]022 = 0644; i.e. rw-r--r--)."
351
352 #. type: TH
353 #: fedora-44 fedora-rawhide
354 #, no-wrap
355 msgid "2024-07-23"
356 msgstr "23 июля 2024 г."
357
358 #. type: TH
359 #: fedora-44 fedora-rawhide
360 #, no-wrap
361 msgid "Linux man-pages 6.13"
362 msgstr "Страницы руководства Linux 6.13"
363
364 #. type: TH
365 #: mageia-cauldron
366 #, no-wrap
367 msgid "Linux man-pages 6.17"
368 msgstr "Страницы руководства Linux 6.17"
369
370 #. type: TH
371 #: opensuse-leap-16-1 opensuse-tumbleweed
372 #, no-wrap
373 msgid "Linux man-pages (unreleased)"
374 msgstr "Страницы руководства Linux (не выпущены)"