Debian Codegraph @

po/da/man2/umask.2.po

raw
1 # Danish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Joe Hansen <[email protected]>, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.29.1\n"
8 "POT-Creation-Date: 2026-06-05 06:49+0200\n"
9 "PO-Revision-Date: 2026-03-13 19:25+0100\n"
10 "Last-Translator: Joe Hansen <[email protected]>\n"
11 "Language-Team: Danish <[email protected]>\n"
12 "Language: da\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
18 #. type: TH
19 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
20 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
21 #, no-wrap
22 msgid "umask"
23 msgstr "umask"
24
25 #. type: TH
26 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
27 #: opensuse-tumbleweed
28 #, no-wrap
29 msgid "2026-02-08"
30 msgstr "8. februar 2026"
31
32 #. type: TH
33 #: archlinux debian-unstable
34 #, no-wrap
35 msgid "Linux man-pages 6.18"
36 msgstr "Linux man-pages 6.18"
37
38 #. type: SH
39 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
40 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
41 #, no-wrap
42 msgid "NAME"
43 msgstr "NAVN"
44
45 #. type: Plain text
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 msgid "umask - set file mode creation mask"
49 msgstr "umask - angiv filtilstandens oprettelsesmaske"
50
51 #. type: SH
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 #, no-wrap
55 msgid "LIBRARY"
56 msgstr "BIBLIOTEK"
57
58 #. type: Plain text
59 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
60 #: opensuse-leap-16-1 opensuse-tumbleweed
61 msgid "Standard C library (I<libc>,\\ I<-lc>)"
62 msgstr "C-standardbibliotek (I<libc>,\\ I<-lc>)"
63
64 #. type: SH
65 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
66 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
67 #, no-wrap
68 msgid "SYNOPSIS"
69 msgstr "SYNOPSIS"
70
71 #. type: Plain text
72 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
73 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
74 #, no-wrap
75 msgid "B<#include E<lt>sys/stat.hE<gt>>\n"
76 msgstr "B<#include E<lt>sys/stat.hE<gt>>\n"
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<mode_t umask(mode_t >I<mask>B<);>\n"
83 msgstr "B<mode_t umask(mode_t >I<mask>B<);>\n"
84
85 #. type: SH
86 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
87 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
88 #, no-wrap
89 msgid "DESCRIPTION"
90 msgstr "BESKRIVELSE"
91
92 #. type: Plain text
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 msgid ""
96 "B<umask>() sets the calling process's file mode creation mask (umask) to "
97 "I<mask> & 0777 (i.e., only the file permission bits of I<mask> are used), "
98 "and returns the previous value of the mask."
99 msgstr ""
100 "B<umask>() anigver den kaldende proces filtilstandsoprettelsesmaske (umask) "
101 "til I<mask> & 0777 (dvs. kun filrettighedsdelen for I<mask> bruges), og "
102 "returnerer den tidligere værdi for masken."
103
104 #. e.g., mkfifo(), creat(), mknod(), sem_open(), mq_open(), shm_open()
105 #. but NOT the System V IPC *get() calls
106 #. type: Plain text
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 msgid ""
110 "The umask is used by B<open>(2), B<mkdir>(2), and other system calls that "
111 "create files to modify the permissions placed on newly created files or "
112 "directories. Specifically, permissions in the umask are turned off from the "
113 "I<mode> argument to B<open>(2) and B<mkdir>(2)."
114 msgstr ""
115 "Umask bruges af B<open>(2), B<mkdir>(2) og andre systemkald, der opretter "
116 "filer til at ændre rettighederne placeret på nyoprettede filer eller mapper. "
117 "Specifikt slukkes rettigheder i umask'en fra I<mode>-argumentet til "
118 "B<open>(2) og B<mkdir>(2)."
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 msgid ""
124 "Alternatively, if the parent directory has a default ACL (see B<acl>(5)), "
125 "the umask is ignored, the default ACL is inherited, the permission bits are "
126 "set based on the inherited ACL, and permission bits absent in the I<mode> "
127 "argument are turned off. For example, the following default ACL is "
128 "equivalent to a umask of 022:"
129 msgstr ""
130 "Alternativt hvis overmappen har en standard-ACL (se B<acl>(5)) så ignoreres "
131 "umask'en, standard-ACL'en arves, rettighedsdelene angives baseret på den "
132 "arvede ACL og rettighedsdelene fraværende i argumentet I<mode> slukkes. For "
133 "eksempel svarer den følgende standard-ACL til en umask på 022:"
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 #, no-wrap
139 msgid "u::rwx,g::r-x,o::r-x\n"
140 msgstr "u::rwx,g::r-x,o::r-x\n"
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 msgid ""
146 "Combining the effect of this default ACL with a I<mode> argument of 0666 (rw-"
147 "rw-rw-), the resulting file permissions would be 0644 (rw-r--r--)."
148 msgstr ""
149 "Kombination af effekten for denne standard-ACL med et I<mode>-argument for "
150 "0666 (rw-rw-rw-) vil medføre at filrettighederne er 0644 (rw-r--r--)."
151
152 #. type: Plain text
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 msgid ""
156 "The constants that should be used to specify I<mask> are described in "
157 "B<inode>(7)."
158 msgstr ""
159 "Konstanterne der skal bruges til at angive I<mask> er beskrevet i "
160 "B<inode>(7)."
161
162 #. type: Plain text
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 msgid ""
166 "The typical default value for the process umask is B<S_IWGRP> | B<S_IWOTH> "
167 "(octal 022). In the usual case where the I<mode> argument to B<open>(2) is "
168 "specified as:"
169 msgstr ""
170 "Den typiske standardværdi for processens umask er B<S_IWGRP> | B<S_IWOTH> "
171 "(oktal 022). I det normale tilfælde hvor argumentet I<mode> til B<open>(2) "
172 "er angivet som:"
173
174 #. type: Plain text
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 #, no-wrap
178 msgid "B<S_IRUSR> | B<S_IWUSR> | B<S_IRGRP> | B<S_IWGRP> | B<S_IROTH> | B<S_IWOTH>\n"
179 msgstr "B<S_IRUSR> | B<S_IWUSR> | B<S_IRGRP> | B<S_IWGRP> | B<S_IROTH> | B<S_IWOTH>\n"
180
181 #. type: Plain text
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 msgid ""
185 "(octal 0666) when creating a new file, the permissions on the resulting file "
186 "will be:"
187 msgstr "(oktal 0666) når en ny fil oprettes, vil rettighederne på filen være:"
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 #, no-wrap
193 msgid "B<S_IRUSR> | B<S_IWUSR> | B<S_IRGRP> | B<S_IROTH>\n"
194 msgstr "B<S_IRUSR> | B<S_IWUSR> | B<S_IRGRP> | B<S_IROTH>\n"
195
196 #. type: Plain text
197 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
198 #: opensuse-tumbleweed
199 msgid "(because 0666 & \\[ti]022 = 0644; i.e., rw-r--r--)."
200 msgstr "(da 0666 & \\[ti]022 = 0644; i.e., rw-r--r--)."
201
202 #. type: SH
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 #, no-wrap
206 msgid "RETURN VALUE"
207 msgstr "RETURVÆRDI"
208
209 #. type: Plain text
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 msgid ""
213 "This system call always succeeds and the previous value of the mask is "
214 "returned."
215 msgstr ""
216 "Dette systemkald lykkes altid og den tidligere værdi for masken er "
217 "returneret."
218
219 #. type: SH
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 #, no-wrap
223 msgid "STANDARDS"
224 msgstr "STANDARDER"
225
226 #. type: Plain text
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 msgid "POSIX.1-2008."
230 msgstr "POSIX.1-2008."
231
232 #. type: SH
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, no-wrap
236 msgid "HISTORY"
237 msgstr "HISTORIK"
238
239 #. type: Plain text
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 msgid "POSIX.1-2001, SVr4, 4.3BSD."
243 msgstr "POSIX.1-2001, SVr4, 4.3BSD."
244
245 #. type: SH
246 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
247 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
248 #, no-wrap
249 msgid "NOTES"
250 msgstr "NOTER"
251
252 #. type: Plain text
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 msgid ""
256 "A child process created via B<fork>(2) inherits its parent's umask. The "
257 "umask is left unchanged by B<execve>(2)."
258 msgstr ""
259 "En underproces oprettet via B<fork>(2) arver sin overproces umask. Umask'en "
260 "efterlades uændret af B<execve>(2)."
261
262 # Nonatomicity refers to operations, data, or measures that are divisible,
263 # intermediate, or not guaranteed to be completed as a single, indivisible
264 # unit. In programming, nonatomic operations are faster but risky, as they
265 # can lead to race conditions and unpredictable, partially written data when
266 # accessed by multiple threads.
267 #. type: Plain text
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 msgid ""
271 "It is impossible to use B<umask>() to fetch a process's umask without at "
272 "the same time changing it. A second call to B<umask>() would then be "
273 "needed to restore the umask. The nonatomicity of these two steps provides "
274 "the potential for races in multithreaded programs."
275 msgstr ""
276 "Det er umuligt at bruge B<umask>() til at hente en proces umask uden på "
277 "samme tid at ændre den. Et andet kald til B<umask>() ville så være krævet "
278 "for at gendanne umask'en. Opdelingen i disse to trin giver en risiko for "
279 "afvikling af instrukser uden for sekvens i programmer med flere tråde."
280
281 #. type: Plain text
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 msgid ""
285 "Since Linux 4.7, the umask of any process can be viewed via the I<Umask> "
286 "field of I</proc/>pidI</status>. Inspecting this field in I</proc/self/"
287 "status> allows a process to retrieve its umask without at the same time "
288 "changing it."
289 msgstr ""
290 "Siden Linux 4.7 kan umask'en for enhver proces ses via feltet I<Umask> i I</"
291 "proc/>pidI</status>. Inspektion af dette felt i I</proc/self/status> gør at "
292 "en proces kan hente sin umask uden på samme tid at ændre den."
293
294 #. type: Plain text
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 msgid ""
298 "The umask setting also affects the permissions assigned to POSIX IPC objects "
299 "(B<mq_open>(3), B<sem_open>(3), B<shm_open>(3)), FIFOs (B<mkfifo>(3)), and "
300 "UNIX domain sockets (B<unix>(7)) created by the process. The umask does "
301 "not affect the permissions assigned to System\\ V IPC objects created by the "
302 "process (using B<msgget>(2), B<semget>(2), B<shmget>(2))."
303 msgstr ""
304 "Umask-indstillingen påvirker også rettighederne tildelt til POSIX IPC-"
305 "objekter (B<mq_open>(3), B<sem_open>(3), B<shm_open>(3)), FIFO'er "
306 "(B<mkfifo>(3)) og UNIX-domænesokler (B<unix>(7)) oprettet af processen. "
307 "Umask'en påvirker ikke rettighederne tildelt til System\\ V IPC-objekter "
308 "oprettet af processen (via B<msgget>(2), B<semget>(2), B<shmget>(2))."
309
310 #. type: SH
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 #, no-wrap
314 msgid "SEE ALSO"
315 msgstr "SE OGSÅ"
316
317 #. type: Plain text
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 msgid "B<chmod>(2), B<mkdir>(2), B<open>(2), B<stat>(2), B<acl>(5)"
321 msgstr "B<chmod>(2), B<mkdir>(2), B<open>(2), B<stat>(2), B<acl>(5)"
322
323 #. type: TH
324 #: debian-trixie
325 #, no-wrap
326 msgid "2024-05-02"
327 msgstr "2. maj 2024"
328
329 #. type: TH
330 #: debian-trixie
331 #, no-wrap
332 msgid "Linux man-pages 6.9.1"
333 msgstr "Linux man-pages 6.9.1"
334
335 #. type: Plain text
336 #: debian-trixie
337 msgid "Standard C library (I<libc>, I<-lc>)"
338 msgstr "C-standardbibliotek (I<libc>, I<-lc>)"
339
340 #. type: Plain text
341 #: debian-trixie fedora-44 fedora-rawhide
342 msgid "(because 0666 & \\[ti]022 = 0644; i.e. rw-r--r--)."
343 msgstr "(da 0666 & \\[ti]022 = 0644; i.e. rw-r--r--)."
344
345 #. type: TH
346 #: fedora-44 fedora-rawhide
347 #, no-wrap
348 msgid "2024-07-23"
349 msgstr "23. juli 2024"
350
351 #. type: TH
352 #: fedora-44 fedora-rawhide
353 #, no-wrap
354 msgid "Linux man-pages 6.13"
355 msgstr "Linux man-pages 6.13"
356
357 #. type: TH
358 #: mageia-cauldron
359 #, no-wrap
360 msgid "Linux man-pages 6.17"
361 msgstr "Linux man-pages 6.17"
362
363 #. type: TH
364 #: opensuse-leap-16-1 opensuse-tumbleweed
365 #, no-wrap
366 msgid "Linux man-pages (unreleased)"
367 msgstr "Linux man-pages (ej udgivet)"