Debian Codegraph @

po/da/man2/utimensat.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:50+0200\n"
9 "PO-Revision-Date: 2026-03-01 08:23+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 "utimensat"
23 msgstr "utimensat"
24
25 #. type: TH
26 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
27 #: opensuse-tumbleweed
28 #, no-wrap
29 msgid "2025-10-29"
30 msgstr "29. oktober 2025"
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 "utimensat, futimens - change file timestamps with nanosecond precision"
49 msgstr "utimensat, futimens - ændr filtidsstempler med nanosekund præcision"
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 ""
76 "B<#include E<lt>fcntl.hE<gt>> /* Definition of B<AT_*> constants */\n"
77 "B<#include E<lt>sys/stat.hE<gt>>\n"
78 msgstr ""
79 "B<#include E<lt>fcntl.hE<gt>> /* Definition af B<AT_*>-konstanter */\n"
80 "B<#include E<lt>sys/stat.hE<gt>>\n"
81
82 #. type: Plain text
83 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
84 #: opensuse-tumbleweed
85 #, no-wrap
86 msgid ""
87 "B<int utimensat(int >I<dirfd>B<, const char *>I<path>B<,>\n"
88 "B< const struct timespec >I<times>B<[_Nullable 2], int >I<flags>B<);>\n"
89 "B<int futimens(int >I<fd>B<, const struct timespec >I<times>B<[_Nullable 2]);>\n"
90 msgstr ""
91 "B<int utimensat(int >I<dirfd>B<, const char *>I<sti>B<,>\n"
92 "B< const struct timespec >I<times>B<[_Nullable 2], int >I<flag>B<);>\n"
93 "B<int futimens(int >I<fd>B<, const struct timespec >I<times>B<[_Nullable 2]);>\n"
94
95 #. type: Plain text
96 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
97 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
98 msgid ""
99 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
100 msgstr ""
101 "Feature Test Macro Requirements for glibc (se B<feature_test_macros>(7)):"
102
103 #. type: Plain text
104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
106 msgid "B<utimensat>():"
107 msgstr "B<utimensat>():"
108
109 #. type: Plain text
110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
112 #, no-wrap
113 msgid ""
114 " Since glibc 2.10:\n"
115 " _POSIX_C_SOURCE E<gt>= 200809L\n"
116 " Before glibc 2.10:\n"
117 " _ATFILE_SOURCE\n"
118 msgstr ""
119 " Siden glibc 2.10:\n"
120 " _POSIX_C_SOURCE E<gt>= 200809L\n"
121 " Før glibc 2.10:\n"
122 " _ATFILE_SOURCE\n"
123
124 #. type: Plain text
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 msgid "B<futimens>():"
128 msgstr "B<futimens>():"
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 #, no-wrap
134 msgid ""
135 " Since glibc 2.10:\n"
136 " _POSIX_C_SOURCE E<gt>= 200809L\n"
137 " Before glibc 2.10:\n"
138 " _GNU_SOURCE\n"
139 msgstr ""
140 " Siden glibc 2.10:\n"
141 " _POSIX_C_SOURCE E<gt>= 200809L\n"
142 " Før glibc 2.10:\n"
143 " _GNU_SOURCE\n"
144
145 #. type: SH
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 #, no-wrap
149 msgid "DESCRIPTION"
150 msgstr "BESKRIVELSE"
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 "B<utimensat>() and B<futimens>() update the timestamps of a file with "
157 "nanosecond precision. This contrasts with the historical B<utime>(2) and "
158 "B<utimes>(2), which permit only second and microsecond precision, "
159 "respectively, when setting file timestamps."
160 msgstr ""
161 "B<utimensat>() og B<futimens>() opdaterer tidsstemplerne for en fil med "
162 "nanosekund præcision. Dette er i kontrast til den historiske B<utime>(2) og "
163 "B<utimes>(2), der kun tillader sekund og mikrosekund præcision, respektivt, "
164 "når filtidsstempler angives."
165
166 #. type: Plain text
167 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
168 #: opensuse-tumbleweed
169 msgid ""
170 "With B<utimensat>() the file is specified via the pathname given in "
171 "I<path>. With B<futimens>() the file whose timestamps are to be updated is "
172 "specified via an open file descriptor, I<fd>."
173 msgstr ""
174 "Med B<utimensat>() er filen angivet via stinavnet i I<sti>. Med "
175 "B<futimens>() er filen hvis tidsstempler skal opdateres angivet via en åben "
176 "fildeskriptor, I<fd>."
177
178 #. type: Plain text
179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
181 msgid ""
182 "For both calls, the new file timestamps are specified in the array I<times>: "
183 "I<times[0]> specifies the new \"last access time\" (I<atime>); I<times[1]> "
184 "specifies the new \"last modification time\" (I<mtime>). Each of the "
185 "elements of I<times> specifies a time as the number of seconds and "
186 "nanoseconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC). This "
187 "information is conveyed in a B<timespec>(3) structure."
188 msgstr ""
189 "For begge kald, er de nye filtidsstempler angivet i tabellen I<times>: "
190 "I<times[0]> angiver den nye »sidst tilgået« (I<atime>); I<times[1]> angiver "
191 "den »sidst ændret« (I<mtime>). Hver af elementerne i I<times> angiver et "
192 "tidspunt som antallet af sekunder og nanosekunder siden Epoch, 1970-01-01 "
193 "00:00:00 +0000 (UTC). Denne information er formidlet i en B<timespec>(3)-"
194 "struktur."
195
196 #. type: Plain text
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 msgid ""
200 "Updated file timestamps are set to the greatest value supported by the "
201 "filesystem that is not greater than the specified time."
202 msgstr ""
203 "Opdaterede filtidsstempler angives til den største værdi understøttet af "
204 "filsystemet, der ikke er højere end det angivne tidspunkt."
205
206 #. 2.6.22 was broken: it is not ignored
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 msgid ""
211 "If the I<tv_nsec> field of one of the I<timespec> structures has the special "
212 "value B<UTIME_NOW>, then the corresponding file timestamp is set to the "
213 "current time. If the I<tv_nsec> field of one of the I<timespec> structures "
214 "has the special value B<UTIME_OMIT>, then the corresponding file timestamp "
215 "is left unchanged. In both of these cases, the value of the corresponding "
216 "I<tv_sec> field is ignored."
217 msgstr ""
218 "Hvis feltet I<tv_nsec> for en af I<timespec>-strukturerne har den specielle "
219 "værdi B<UTIME_NOW>, så er det tilsvarende filtidsstempel angivet til den "
220 "aktuelle tid. Hvis feltet I<tv_nsec> for en af I<timespec>-strukturerne har "
221 "den specielle værdi B<UTIME_OMIT>, så efterlades det tilsvarende "
222 "filtidsstempel uændret. I begge disse tilfæde bliver værdien for det "
223 "tilsvarende I<tv_sec>-felt ignoreret."
224
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 msgid "If I<times> is NULL, then both timestamps are set to the current time."
229 msgstr ""
230 "Hvis I<times> er NULL, så angives begge tidsstempler til den aktuelle tid."
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 msgid ""
236 "The status change time (ctime) will be set to the current time, even if the "
237 "other time stamps don't actually change."
238 msgstr ""
239 "Statusændringstidspunktet (ctime) vil blive angivet til den aktuelle tid, "
240 "selv om andre tidsstempler ikke ændrer sig."
241
242 #. type: SS
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 #, no-wrap
246 msgid "Permissions requirements"
247 msgstr "Rettighedskrav"
248
249 #. type: Plain text
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 msgid ""
253 "To set both file timestamps to the current time (i.e., I<times> is NULL, or "
254 "both I<tv_nsec> fields specify B<UTIME_NOW>), either:"
255 msgstr ""
256 "For at angive begge filtidsstempler til den aktuelle tid (dvs., I<times> er "
257 "NULL, eller begge I<tv_nsec>-fetler angiver B<UTIME_NOW>), enten:"
258
259 #. type: IP
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 #, no-wrap
263 msgid "\\[bu]"
264 msgstr "\\[bu]"
265
266 #. 2.6.22 was broken here -- for futimens() the check is
267 #. based on whether or not the file descriptor is writable,
268 #. not on whether the caller's effective UID has write
269 #. permission for the file referred to by the descriptor.
270 #. type: Plain text
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 msgid "the caller must have write access to the file;"
274 msgstr "kalderen skal have skriveadgang til filen;"
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 "the caller's effective user ID must match the owner of the file; or"
280 msgstr "kalderens effektive bruger-id skal matche ejeren af filen; eller"
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 msgid "the caller must have appropriate privileges."
286 msgstr "kalderen skal have passene privilegier."
287
288 #. 2.6.22 was broken here:
289 #. both must be something other than *either* UTIME_OMIT *or* UTIME_NOW.
290 #. type: Plain text
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 msgid ""
294 "To make any change other than setting both timestamps to the current time "
295 "(i.e., I<times> is not NULL, and neither I<tv_nsec> field is B<UTIME_NOW> "
296 "and neither I<tv_nsec> field is B<UTIME_OMIT>), either condition 2 or 3 "
297 "above must apply."
298 msgstr ""
299 "For at lave en ændring udover angivelse af begge tidsstempler til den "
300 "aktuelle tid (dvs., I<times> er ikke NULL, og intet I<tv_nsec>-felt er "
301 "B<UTIME_NOW> og intet I<tv_nsec>-felt er B<UTIME_OMIT>), enten betingelse 2 "
302 "eller 3 ovenfor skal gælde."
303
304 #. type: Plain text
305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
307 msgid ""
308 "If both I<tv_nsec> fields are specified as B<UTIME_OMIT>, then no file "
309 "ownership or permission checks are performed, and the file timestamps are "
310 "not modified, but other error conditions may still be detected."
311 msgstr ""
312 "Hvis begge I<tv_nsec>-felter er angivet som B<UTIME_OMIT>, så udføres der "
313 "ingen tjek for filejerskab eller rettighed og filtidsstemplerne bliver ikke "
314 "ændret, men andre fejlbetingelser kan stadig registreres."
315
316 #. type: SS
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 #, no-wrap
320 msgid "utimensat() specifics"
321 msgstr "utimensat() detaljer"
322
323 #. type: Plain text
324 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
325 #: opensuse-tumbleweed
326 msgid ""
327 "If I<path> is relative, then by default it is interpreted relative to the "
328 "directory referred to by the open file descriptor, I<dirfd> (rather than "
329 "relative to the current working directory of the calling process, as is done "
330 "by B<utimes>(2) for a relative pathname). See B<openat>(2) for an "
331 "explanation of why this can be useful."
332 msgstr ""
333 "Hvis I<sti> er relativ, så fortolkes det som standard relativt til mappen "
334 "refereret til af den åbne fildeskriptor, I<dirfd> (frem for relativt til den "
335 "nuværende arbejdsmappe for den kaldende proces, som det gøres af "
336 "B<utimes>(2) for et relativt stinavn). Se B<openat>(2) for en forklaring af "
337 "hvorfor dette kan være nyttigt."
338
339 #. type: Plain text
340 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
341 #: opensuse-tumbleweed
342 msgid ""
343 "If I<path> is relative and I<dirfd> is the special value B<AT_FDCWD>, then "
344 "I<path> is interpreted relative to the current working directory of the "
345 "calling process (like B<utimes>(2))."
346 msgstr ""
347 "Hvis I<sti> er relativ og I<dirfd> er den specielle værdi B<AT_FDCWD>, så "
348 "fortolkes I<sti> relativt til den nuværende arbejsmapppe for den kaldende "
349 "proces (som B<utimes>(2))."
350
351 #. type: Plain text
352 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
353 #: opensuse-tumbleweed
354 msgid "If I<path> is absolute, then I<dirfd> is ignored."
355 msgstr "Hvis I<sti> er forældet, så ignoreres I<dirfd>."
356
357 #. type: Plain text
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 msgid ""
361 "The I<flags> argument is a bit mask created by ORing together zero or more "
362 "of the following values defined in I<E<lt>fcntl.hE<gt>>:"
363 msgstr ""
364 "Argumentet I<flag> er en bit-maske oprettet af ORing together zero eller "
365 "flere af de følgende værdier defineret i I<E<lt>fcntl.hE<gt>>:"
366
367 #. type: TP
368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
370 #, no-wrap
371 msgid "B<AT_EMPTY_PATH> (since Linux 5.8)"
372 msgstr "B<AT_EMPTY_PATH> (siden Linux 5.8)"
373
374 #. type: Plain text
375 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
376 #: opensuse-tumbleweed
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 "Hvis I<sti> er en tom streng, arbejd på filen refereret til af I<dirfd> (der "
386 "kan være indhentet via B<open>(2) B<O_PATH>-flaget). I dette tilfælde kan "
387 "I<dirfd> referere til enhver filtype, ikke kun en mappe. Hvis I<dirfd> er "
388 "B<AT_FDCWD> fungerer kaldet på den nuværende arbejdsmappe. Dette er flag er "
389 "specifikt for Linux; definer B<_GNU_SOURCE> for at hente dets definition."
390
391 #. type: TP
392 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
393 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
394 #, no-wrap
395 msgid "B<AT_SYMLINK_NOFOLLOW>"
396 msgstr "B<AT_SYMLINK_NOFOLLOW>"
397
398 #. type: Plain text
399 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
400 #: opensuse-tumbleweed
401 msgid ""
402 "If I<path> specifies a symbolic link, then update the timestamps of the "
403 "link, rather than the file to which it refers."
404 msgstr ""
405 "Hvis I<sti> angiver en symbolsk henvisning, så opdater tidsstemplerne for "
406 "henvisningen, frem for filen hvortil der refereres."
407
408 #. type: SH
409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
411 #, no-wrap
412 msgid "RETURN VALUE"
413 msgstr "RETURVÆRDI"
414
415 #. type: Plain text
416 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
417 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
418 msgid ""
419 "On success, B<utimensat>() and B<futimens>() return 0. On error, -1 is "
420 "returned and I<errno> is set to indicate the error."
421 msgstr ""
422 "Ved succes returnerer B<utimensat>() og B<futimens>() 0. Ved fejl returneres "
423 "-1 og I<errno> angives for at indikere fejlen."
424
425 #. type: SH
426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
427 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
428 #, no-wrap
429 msgid "ERRORS"
430 msgstr "FEJL"
431
432 #. type: TP
433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
435 #, no-wrap
436 msgid "B<EACCES>"
437 msgstr "B<EACCES>"
438
439 #
440 #. But Linux 2.6.22 was broken here.
441 #. Traditionally, utime()/utimes() gives the error EACCES for the case
442 #. where the timestamp pointer argument is NULL (i.e., set both timestamps
443 #. to the current time), and the file is owned by a user other than the
444 #. effective UID of the caller, and the file is not writable by the
445 #. effective UID of the program. utimensat() also gives this error in the
446 #. same case. However, in the same circumstances, when utimensat() is
447 #. given a 'times' array in which both tv_nsec fields are UTIME_NOW, which
448 #. provides equivalent functionality to specifying 'times' as NULL, the
449 #. call succeeds. It should fail with the error EACCES in this case.
450 #. POSIX.1-2008 has the following:
451 #. .TP
452 #. .B EACCES
453 #. .RB ( utimensat ())
454 #. .I fd
455 #. was not opened with
456 #. .B O_SEARCH
457 #. and the permissions of the directory to which
458 #. .I fd
459 #. refers do not allow searches.
460 #. EXT2_IMMUTABLE_FL and similar flags for other filesystems.
461 #. type: Plain text
462 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
463 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
464 msgid ""
465 "I<times> is NULL, or both I<tv_nsec> values are B<UTIME_NOW>, and the "
466 "effective user ID of the caller does not match the owner of the file, the "
467 "caller does not have write access to the file, and the caller is not "
468 "privileged (Linux: does not have either the B<CAP_FOWNER> or the "
469 "B<CAP_DAC_OVERRIDE> capability)."
470 msgstr ""
471 "I<times> er NULL, eller begge I<tv_nsec>-værdier er B<UTIME_NOW>, og det "
472 "effektive bruger-id for kalderen matcher ikke ejeren af filen, kalderen skal "
473 "ikke have skriveadgang til filen og kalderen er ikke privilegeret (Linux: "
474 "har hverken kapaciteten B<CAP_FOWNER> eller B<CAP_DAC_OVERRIDE>)."
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<EBADF>"
481 msgstr "B<EBADF>"
482
483 #. type: Plain text
484 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
485 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
486 msgid "(B<futimens>()) I<fd> is not a valid file descriptor."
487 msgstr "(B<futimens>()) I<fd> er ikke en gyldig fildeskriptor."
488
489 #. type: Plain text
490 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
491 #: opensuse-tumbleweed
492 msgid ""
493 "(B<utimensat>()) I<path> is relative but I<dirfd> is neither B<AT_FDCWD> "
494 "nor a valid file descriptor."
495 msgstr ""
496 "B<utimensat>()) I<sti> er relativ men I<dirfd> er ingen B<AT_FDCWD> eller en "
497 "gyldig fildeskriptor."
498
499 #. type: TP
500 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
501 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
502 #, no-wrap
503 msgid "B<EFAULT>"
504 msgstr "B<EFAULT>"
505
506 #. type: Plain text
507 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
508 #: opensuse-tumbleweed
509 msgid ""
510 "I<times> pointed to an invalid address; or, I<dirfd> was B<AT_FDCWD>, and "
511 "I<path> is NULL or an invalid address."
512 msgstr ""
513 "I<times> pegede mod en ugyldig adresse; eller, I<dirfd> var B<AT_FDCWD>, og "
514 "I<sti> er NULL eller en ugyldig adresse.."
515
516 #. type: TP
517 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
518 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
519 #, no-wrap
520 msgid "B<EINVAL>"
521 msgstr "B<EINVAL>"
522
523 #. type: Plain text
524 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
525 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
526 msgid "Invalid value in I<flags>."
527 msgstr "Ugyldig værdi i I<flag>."
528
529 #. type: Plain text
530 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
531 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
532 msgid ""
533 "Invalid value in one of the I<tv_nsec> fields (value outside range [0, "
534 "999,999,999], and not B<UTIME_NOW> or B<UTIME_OMIT>); or an invalid value in "
535 "one of the I<tv_sec> fields."
536 msgstr ""
537 "Ugyldig værdi i et af I<tv_nsec>-felterne (værdi uden for interval [0, "
538 "999,999,999], og ikke B<UTIME_NOW> eller B<UTIME_OMIT>); eller en ugyldig "
539 "værdi i et af I<tv_sec>-felterne."
540
541 #. SUSv4 does not specify this error.
542 #. type: Plain text
543 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
544 #: opensuse-tumbleweed
545 msgid ""
546 "I<path> is NULL, I<dirfd> is not B<AT_FDCWD>, and I<flags> contains "
547 "B<AT_SYMLINK_NOFOLLOW>."
548 msgstr ""
549 "I<path> er NULL, I<dirfd> er ikke B<AT_FDCWD>, og I<flag> indeholder "
550 "B<AT_SYMLINK_NOFOLLOW>."
551
552 #. type: TP
553 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
554 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
555 #, no-wrap
556 msgid "B<ELOOP>"
557 msgstr "B<ELOOP>"
558
559 #. type: Plain text
560 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
561 #: opensuse-tumbleweed
562 msgid ""
563 "(B<utimensat>()) Too many symbolic links were encountered in resolving "
564 "I<path>."
565 msgstr ""
566 "(B<utimensat>()) For mange symbolske henvisninger blev mødt under opslag af "
567 "I<sti>."
568
569 #. type: TP
570 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
571 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
572 #, no-wrap
573 msgid "B<ENAMETOOLONG>"
574 msgstr "B<ENAMETOOLONG>"
575
576 #. type: Plain text
577 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
578 #: opensuse-tumbleweed
579 msgid "(B<utimensat>()) I<path> is too long."
580 msgstr "(B<utimensat>()) I<sti> er for lang."
581
582 #. type: TP
583 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
584 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
585 #, no-wrap
586 msgid "B<ENOENT>"
587 msgstr "B<ENOENT>"
588
589 #. type: Plain text
590 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
591 #: opensuse-tumbleweed
592 msgid ""
593 "(B<utimensat>()) A component of I<path> does not refer to an existing "
594 "directory or file, or I<path> is an empty string."
595 msgstr ""
596 "(B<utimensat>()) En komponent i I<sti> refererer ikke til en eksisterende "
597 "mappe eller fil, eller I<sti> er ikke en tom streng."
598
599 #. type: TP
600 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
601 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
602 #, no-wrap
603 msgid "B<ENOTDIR>"
604 msgstr "B<ENOTDIR>"
605
606 #. type: Plain text
607 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
608 #: opensuse-tumbleweed
609 msgid ""
610 "(B<utimensat>()) I<path> is relative, but I<dirfd> is neither B<AT_FDCWD> "
611 "nor a file descriptor referring to a directory; or, one of the prefix "
612 "components of I<path> is not a directory."
613 msgstr ""
614 "(B<utimensat>()) I<sti> er relativ, men I<dirfd> er ingen B<AT_FDCWD> eller "
615 "en fildeskriptor refererende til en mappe; eller, en af præfikskomponenterne "
616 "for I<sti> er ikke en mappe."
617
618 #. type: TP
619 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
620 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
621 #, no-wrap
622 msgid "B<EPERM>"
623 msgstr "B<EPERM>"
624
625 #. type: Plain text
626 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
627 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
628 msgid ""
629 "The caller attempted to change one or both timestamps to a value other than "
630 "the current time, or to change one of the timestamps to the current time "
631 "while leaving the other timestamp unchanged, (i.e., I<times> is not NULL, "
632 "neither I<tv_nsec> field is B<UTIME_NOW>, and neither I<tv_nsec> field is "
633 "B<UTIME_OMIT>) and either:"
634 msgstr ""
635 "Kalderen forsøgte at ændre en eller begge tidsstempler til en værdi "
636 "anderledes end den nuværende tid, eller til at ændre en af tidsstemplerne "
637 "til den nuværende tid, mens det andet tidsstempel efterlades uændret (dvs. "
638 "I<times> er ikke NULL; intet I<tv_nsec>-felt er B<UTIME_NOW>, og intet "
639 "I<tv_nsec>-felt er B<UTIME_OMIT>) og enten:"
640
641 #. type: Plain text
642 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
643 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
644 msgid ""
645 "the caller's effective user ID does not match the owner of file, and the "
646 "caller is not privileged (Linux: does not have the B<CAP_FOWNER> "
647 "capability); or,"
648 msgstr ""
649 "kalderens effektive bruger-id matcher ikke filejeren og kalderen er ikke "
650 "privilegeret (Linux: har ikke kapaciteten B<CAP_FOWNER>); eller,"
651
652 #
653 #. Linux 2.6.22 was broken here:
654 #. it was not consistent with the old utimes() implementation,
655 #. since the case when both tv_nsec fields are UTIME_NOW, was not
656 #. treated like the (times == NULL) case.
657 #. EXT2_IMMUTABLE_FL EXT_APPEND_FL and similar flags for
658 #. other filesystems.
659 #. Why the inconsistency (which is described under NOTES) between
660 #. EACCES and EPERM, where only EPERM tests for append-only.
661 #. (This was also so for the older utimes() implementation.)
662 #. type: Plain text
663 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
664 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
665 msgid "the file is marked append-only or immutable (see B<chattr>(1))."
666 msgstr "filen er markeret tilføj-kun eller uforanderlig (se B<chattr>(1))."
667
668 #. type: TP
669 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
670 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
671 #, no-wrap
672 msgid "B<EROFS>"
673 msgstr "B<EROFS>"
674
675 #. type: Plain text
676 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
677 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
678 msgid "The file is on a read-only filesystem."
679 msgstr "Filen er på et skrivebeskyttet filsystem."
680
681 #. type: TP
682 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
683 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
684 #, no-wrap
685 msgid "B<ESRCH>"
686 msgstr "B<ESRCH>"
687
688 #. type: Plain text
689 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
690 #: opensuse-tumbleweed
691 msgid ""
692 "(B<utimensat>()) Search permission is denied for one of the prefix "
693 "components of I<path>."
694 msgstr ""
695 "(B<utimensat>()) Søgetilladelse er nægtet for en af præfikskomponenterne i "
696 "I<sti>."
697
698 #. type: SH
699 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
700 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
701 #, no-wrap
702 msgid "ATTRIBUTES"
703 msgstr "ATTRIBUTTER"
704
705 #. type: Plain text
706 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
707 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
708 msgid ""
709 "For an explanation of the terms used in this section, see B<attributes>(7)."
710 msgstr ""
711 "For en forklaring på betingelserne i dette afsnit, se B<attributes>(7)."
712
713 #. type: tbl table
714 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
715 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
716 #, no-wrap
717 msgid "Interface"
718 msgstr "Grænseflade"
719
720 #. type: tbl table
721 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
722 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
723 #, no-wrap
724 msgid "Attribute"
725 msgstr "Attribut"
726
727 #. type: tbl table
728 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
729 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
730 #, no-wrap
731 msgid "Value"
732 msgstr "Værdi"
733
734 #. type: tbl table
735 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
736 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
737 #, no-wrap
738 msgid ".na\n"
739 msgstr ".na\n"
740
741 #. type: tbl table
742 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
743 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
744 #, no-wrap
745 msgid ".nh\n"
746 msgstr ".nh\n"
747
748 #. type: tbl table
749 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
750 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
751 #, no-wrap
752 msgid ""
753 "B<utimensat>(),\n"
754 "B<futimens>()"
755 msgstr ""
756 "B<utimensat>(),\n"
757 "B<futimens>()"
758
759 #. type: tbl table
760 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
761 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
762 #, no-wrap
763 msgid "Thread safety"
764 msgstr "Trådsikkerhed"
765
766 #. type: tbl table
767 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
768 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
769 #, no-wrap
770 msgid "MT-Safe"
771 msgstr "MT-Safe"
772
773 #. type: SH
774 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
775 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
776 #, no-wrap
777 msgid "VERSIONS"
778 msgstr "VERSIONER"
779
780 #. type: SS
781 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
782 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
783 #, no-wrap
784 msgid "C library/kernel ABI differences"
785 msgstr "ABI-forskelle for C-bibliotek/kerne"
786
787 #. type: Plain text
788 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
789 #: opensuse-tumbleweed
790 msgid ""
791 "On Linux, B<futimens>() is a library function implemented on top of the "
792 "B<utimensat>() system call. To support this, the Linux B<utimensat>() "
793 "system call implements a nonstandard feature: if I<path> is NULL, then the "
794 "call modifies the timestamps of the file referred to by the file descriptor "
795 "I<dirfd> (which may refer to any type of file). Using this feature, the "
796 "call I<futimens(fd,\\ times)> is implemented as:"
797 msgstr ""
798 "På Linux er B<futimens>() en biblioteksfunktion implementeret oven på "
799 "systemkaldet B<utimensat>(). For at understøtte dette implementerer Linux-"
800 "systemkaldet B<utimensat>() en funktion uden for standarden: hvis I<sti> er "
801 "NULL, så ændrer kaldet tidstemplerne for filen refereret til af "
802 "fildeskriptoren I<dirfd> (der kan referere til enhver filtype). Med brug af "
803 "denne funktion bliver kaldet I<futimens(fd,\\ times)> implementeret som:"
804
805 #. type: Plain text
806 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
807 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
808 #, no-wrap
809 msgid "utimensat(fd, NULL, times, 0);\n"
810 msgstr "utimensat(fd, NULL, times, 0);\n"
811
812 #. type: Plain text
813 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
814 #: opensuse-tumbleweed
815 msgid ""
816 "Note, however, that the glibc wrapper for B<utimensat>() disallows passing "
817 "NULL as the value for I<path>: the wrapper function returns the error "
818 "B<EINVAL> in this case."
819 msgstr ""
820 "Bemærk dog, at glibc-omslaget for B<utimensat>() ikke tillader at sende NULL "
821 "som værdien for I<sti>: omslagsfunktionen returnerer i dette tilfælde fejlen "
822 "B<EINVAL>."
823
824 #. type: SH
825 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
826 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
827 #, no-wrap
828 msgid "STANDARDS"
829 msgstr "STANDARDER"
830
831 #. type: Plain text
832 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
833 #: opensuse-tumbleweed
834 msgid "POSIX.1-2024."
835 msgstr "POSIX.1-2024."
836
837 #. type: SH
838 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
839 #: opensuse-tumbleweed
840 #, no-wrap
841 msgid "HISTORY"
842 msgstr "HISTORIK"
843
844 #. type: TP
845 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
846 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
847 #, no-wrap
848 msgid "B<utimensat>()"
849 msgstr "B<utimensat>()"
850
851 #. type: Plain text
852 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
853 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
854 msgid "Linux 2.6.22, glibc 2.6. POSIX.1-2008."
855 msgstr "Linux 2.6.22, glibc 2.6. POSIX.1-2008."
856
857 #. type: TP
858 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
859 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
860 #, no-wrap
861 msgid "B<futimens>()"
862 msgstr "B<futimens>()"
863
864 #. type: Plain text
865 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
866 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
867 msgid "glibc 2.6. POSIX.1-2008."
868 msgstr "glibc 2.6. POSIX.1-2008."
869
870 #. type: SH
871 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
872 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
873 #, no-wrap
874 msgid "NOTES"
875 msgstr "NOTER"
876
877 #. type: Plain text
878 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
879 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
880 msgid "B<utimensat>() obsoletes B<futimesat>(2)."
881 msgstr "B<utimensat>() gør B<futimesat>(2) forældet."
882
883 #. type: Plain text
884 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
885 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
886 msgid ""
887 "On Linux, timestamps cannot be changed for a file marked immutable, and the "
888 "only change permitted for files marked append-only is to set the timestamps "
889 "to the current time. (This is consistent with the historical behavior of "
890 "B<utime>(2) and B<utimes>(2) on Linux.)"
891 msgstr ""
892 "På Linux kan tidsstempler ikke ændret for en fil, der er markeret "
893 "uforanderlig, og den eneste ændring tilladt for filer markeret tilføj-kun er "
894 "at angive tidsstemplerne til den aktuelle tid. (Dette er konsistent med den "
895 "historiske opførsel for B<utime>(2) og B<utimes>(2) på Linux)."
896
897 #. type: Plain text
898 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
899 #: opensuse-tumbleweed
900 msgid ""
901 "If both I<tv_nsec> fields are specified as B<UTIME_OMIT>, then the Linux "
902 "implementation of B<utimensat>() succeeds even if the file referred to by "
903 "I<dirfd> and I<path> does not exist."
904 msgstr ""
905 "Hvis begge I<tv_nsec>-felter er angivet som B<UTIME_OMIT>, så lykkes Linux-"
906 "implementeringen af B<utimensat>() selv om filen er refereret til af "
907 "I<dirfd> og I<sti> ikke findes."
908
909 #. type: SH
910 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
911 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
912 #, no-wrap
913 msgid "BUGS"
914 msgstr "FEJL"
915
916 #. type: Plain text
917 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
918 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
919 msgid ""
920 "Several bugs afflict B<utimensat>() and B<futimens>() before Linux "
921 "2.6.26. These bugs are either nonconformances with the POSIX.1 draft "
922 "specification or inconsistencies with historical Linux behavior."
923 msgstr ""
924 "Flere fejl plager B<utimensat>() og B<futimens>() før Linux 2.6.26. Disse "
925 "fejl er enten manglende overholdelse af POSIX.1-kladdespecifikationen eller "
926 "inkonsistens med historisk Linux-opførsel."
927
928 #. type: Plain text
929 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
930 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
931 msgid ""
932 "POSIX.1 specifies that if one of the I<tv_nsec> fields has the value "
933 "B<UTIME_NOW> or B<UTIME_OMIT>, then the value of the corresponding I<tv_sec> "
934 "field should be ignored. Instead, the value of the I<tv_sec> field is "
935 "required to be 0 (or the error B<EINVAL> results)."
936 msgstr ""
937 "POSIX.1 nagiver at hvis et af I<tv_nsec>-felterne har værdien B<UTIME_NOW> "
938 "eller B<UTIME_OMIT>, så skal værdien for det tilsvarende I<tv_sec>-felt "
939 "ignoreres. I stedet er det krævet at værdien af I<tv_sec>-feltet er 0 (eller "
940 "at fejlen B<EINVAL> følger)."
941
942 #. Below, the long description of the errors from the previous bullet
943 #. point (abridged because it's too much detail for a man page).
944 #. .IP \[bu]
945 #. If one of the
946 #. .I tv_nsec
947 #. fields is
948 #. .BR UTIME_OMIT
949 #. and the other is
950 #. .BR UTIME_NOW ,
951 #. then the error
952 #. .B EPERM
953 #. should occur if the process's effective user ID does not match
954 #. the file owner and the process is not privileged.
955 #. Instead, the call successfully changes one of the timestamps.
956 #. .IP \[bu]
957 #. If file is not writable by the effective user ID of the process and
958 #. the process's effective user ID does not match the file owner and
959 #. the process is not privileged,
960 #. and
961 #. .I times
962 #. is NULL, then the error
963 #. .B EACCES
964 #. results.
965 #. This error should also occur if
966 #. .I times
967 #. points to an array of structures in which both
968 #. .I tv_nsec
969 #. fields are
970 #. .BR UTIME_NOW .
971 #. Instead the call succeeds.
972 #. .IP \[bu]
973 #. If a file is marked as append-only (see
974 #. .BR chattr (1)),
975 #. then Linux traditionally
976 #. (i.e.,
977 #. .BR utime (2),
978 #. .BR utimes (2)),
979 #. permits a NULL
980 #. .I times
981 #. argument to be used in order to update both timestamps to the current time.
982 #. For consistency,
983 #. .BR utimensat ()
984 #. and
985 #. .BR futimens ()
986 #. should also produce the same result when given a
987 #. .I times
988 #. argument that points to an array of structures in which both
989 #. .I tv_nsec
990 #. fields are
991 #. .BR UTIME_NOW .
992 #. Instead, the call fails with the error
993 #. .BR EPERM .
994 #. .IP \[bu]
995 #. If a file is marked as immutable (see
996 #. .BR chattr (1)),
997 #. then Linux traditionally
998 #. (i.e.,
999 #. .BR utime (2),
1000 #. .BR utimes (2)),
1001 #. gives an
1002 #. .B EACCES
1003 #. error if
1004 #. .I times
1005 #. is NULL.
1006 #. For consistency,
1007 #. .BR utimensat ()
1008 #. and
1009 #. .BR futimens ()
1010 #. should also produce the same result when given a
1011 #. .I times
1012 #. that points to an array of structures in which both
1013 #. .I tv_nsec
1014 #. fields are
1015 #. .BR UTIME_NOW .
1016 #. Instead, the call fails with the error
1017 #. .BR EPERM .
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 "Various bugs mean that for the purposes of permission checking, the case "
1023 "where both I<tv_nsec> fields are set to B<UTIME_NOW> isn't always treated "
1024 "the same as specifying I<times> as NULL, and the case where one I<tv_nsec> "
1025 "value is B<UTIME_NOW> and the other is B<UTIME_OMIT> isn't treated the same "
1026 "as specifying I<times> as a pointer to an array of structures containing "
1027 "arbitrary time values. As a result, in some cases: a) file timestamps can "
1028 "be updated by a process that shouldn't have permission to perform updates; "
1029 "b) file timestamps can't be updated by a process that should have permission "
1030 "to perform updates; and c) the wrong I<errno> value is returned in case of "
1031 "an error."
1032 msgstr ""
1033 "Diverse fejl betyder i forhold til rettighedskontrol at i tilfældet hvor "
1034 "begge I<tv_nsec>-felter er angivet til B<UTIME_NOW>, så behandles det ikke "
1035 "altid som at angive I<times> som NULL, og tilfældet hvor en I<tv_nsec>-værdi "
1036 "er B<UTIME_NOW> og den anden er B<UTIME_OMIT> behandles ikke på samme måde "
1037 "som at angive I<times> som en tekstsøger til en strukturtabel indeholdende "
1038 "arbitrære tidsværdier. Som et resutlat, i nogle tilfælde: a) filtidsstempler "
1039 "kan opdateres af en proces, der ikke burde have rettighed til at udføre "
1040 "opdateringer; b) filstempler kan ikke opdateres af en proces, der burde have "
1041 "rettighed til at udføre opdateirnger; og c) den forkerte I<errno>-værdi "
1042 "returneres i tilfælde af en fejl."
1043
1044 #. This means that a process with a file descriptor that allows
1045 #. writing could change the timestamps of a file for which it
1046 #. does not have write permission;
1047 #. conversely, a process with a read-only file descriptor won't
1048 #. be able to update the timestamps of a file,
1049 #. even if it has write permission on the file.
1050 #. type: Plain text
1051 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1052 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1053 msgid ""
1054 "POSIX.1 says that a process that has I<write access to the file> can make a "
1055 "call with I<times> as NULL, or with I<times> pointing to an array of "
1056 "structures in which both I<tv_nsec> fields are B<UTIME_NOW>, in order to "
1057 "update both timestamps to the current time. However, B<futimens>() instead "
1058 "checks whether the I<access mode of the file descriptor allows writing>."
1059 msgstr ""
1060 "POSIX.1 siger at en proces, der har I<skriveadgang til filen> kan lave et "
1061 "kald med I<times> som NULL, eller med I<times> pegende til en strukturtabel "
1062 "hvori begge I<tv_nsec>-felter er B<UTIME_NOW>, for at opdatere begge "
1063 "tidsstempler til den aktuelle tid. B<futimens>() tjekker i stedet om "
1064 "I<adgangstilstanden for fildeskriptoren tillader skrivning>."
1065
1066 #. type: SH
1067 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1068 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1069 #, no-wrap
1070 msgid "SEE ALSO"
1071 msgstr "SE OGSÅ"
1072
1073 #. type: Plain text
1074 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1075 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1076 msgid ""
1077 "B<chattr>(1), B<touch>(1), B<futimesat>(2), B<openat>(2), B<stat>(2), "
1078 "B<utimes>(2), B<futimes>(3), B<timespec>(3), B<inode>(7), "
1079 "B<path_resolution>(7), B<symlink>(7)"
1080 msgstr ""
1081 "B<chattr>(1), B<touch>(1), B<futimesat>(2), B<openat>(2), B<stat>(2), "
1082 "B<utimes>(2), B<futimes>(3), B<timespec>(3), B<inode>(7), "
1083 "B<path_resolution>(7), B<symlink>(7)"
1084
1085 #. type: TH
1086 #: debian-trixie
1087 #, no-wrap
1088 msgid "2024-05-02"
1089 msgstr "2. maj 2024"
1090
1091 #. type: TH
1092 #: debian-trixie
1093 #, no-wrap
1094 msgid "Linux man-pages 6.9.1"
1095 msgstr "Linux man-pages 6.9.1"
1096
1097 #. type: Plain text
1098 #: debian-trixie
1099 msgid "Standard C library (I<libc>, I<-lc>)"
1100 msgstr "C-standardbibliotek (I<libc>, I<-lc>)"
1101
1102 #. type: Plain text
1103 #: debian-trixie fedora-44 fedora-rawhide
1104 #, no-wrap
1105 msgid ""
1106 "B<int utimensat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n"
1107 "B< const struct timespec >I<times>B<[_Nullable 2], int >I<flags>B<);>\n"
1108 "B<int futimens(int >I<fd>B<, const struct timespec >I<times>B<[_Nullable 2]);>\n"
1109 msgstr ""
1110 "B<int utimensat(int >I<dirfd>B<, const char *>I<stinavn>B<,>\n"
1111 "B< const struct timespec >I<times>B<[_Nullable 2], int >I<flag>B<);>\n"
1112 "B<int futimens(int >I<fd>B<, const struct timespec >I<times>B<[_Nullable 2]);>\n"
1113
1114 #. type: Plain text
1115 #: debian-trixie fedora-44 fedora-rawhide
1116 msgid ""
1117 "With B<utimensat>() the file is specified via the pathname given in "
1118 "I<pathname>. With B<futimens>() the file whose timestamps are to be "
1119 "updated is specified via an open file descriptor, I<fd>."
1120 msgstr ""
1121 "Med B<utimensat>() angives filen via stinavnet i I<stinavn>. Med "
1122 "B<futimens>() angives filen, hvis tidsstempel skal opdateres, via en åben "
1123 "fildeskriptor, I<fd>."
1124
1125 #. type: Plain text
1126 #: debian-trixie fedora-44 fedora-rawhide
1127 msgid ""
1128 "If I<pathname> is relative, then by default it is interpreted relative to "
1129 "the directory referred to by the open file descriptor, I<dirfd> (rather than "
1130 "relative to the current working directory of the calling process, as is done "
1131 "by B<utimes>(2) for a relative pathname). See B<openat>(2) for an "
1132 "explanation of why this can be useful."
1133 msgstr ""
1134 "Hvis I<stinavn> er relativt, så fortolkes det som standard relativt til "
1135 "mappen refereret til af den åbne fildeskriptor, I<dirfd> (frem for relativt "
1136 "til den aktuelle arbejdsmappe for den kaldende proces, som det gøres af "
1137 "B<utimes>(2) for et relativt stinavn). Se B<openat>(2) for en forklaring af "
1138 "hvorfor dette kan være nyttigt."
1139
1140 #. type: Plain text
1141 #: debian-trixie fedora-44 fedora-rawhide
1142 msgid ""
1143 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
1144 "then I<pathname> is interpreted relative to the current working directory of "
1145 "the calling process (like B<utimes>(2))."
1146 msgstr ""
1147 "Hvis I<stinavn> er relativ og I<dirfd> er den specielle værdi B<AT_FDCWD>, "
1148 "så fortolkes I<stinavn> relativt til den aktuelle arbejdsmappe for den "
1149 "kaldende proces (som B<utimes>(2))."
1150
1151 #. type: Plain text
1152 #: debian-trixie fedora-44 fedora-rawhide
1153 msgid "If I<pathname> is absolute, then I<dirfd> is ignored."
1154 msgstr "Hvis I<stinavn> er forældet, så ignoreres I<dirfd>."
1155
1156 #. type: Plain text
1157 #: debian-trixie fedora-44 fedora-rawhide
1158 msgid ""
1159 "If I<pathname> is an empty string, operate on the file referred to by "
1160 "I<dirfd> (which may have been obtained using the B<open>(2) B<O_PATH> "
1161 "flag). In this case, I<dirfd> can refer to any type of file, not just a "
1162 "directory. If I<dirfd> is B<AT_FDCWD>, the call operates on the current "
1163 "working directory. This flag is Linux-specific; define B<_GNU_SOURCE> to "
1164 "obtain its definition."
1165 msgstr ""
1166 "Hvis I<stinavn> er en tom streng, arbejd på den fil, der henvises til af "
1167 "I<dirfd> (der kan være indhentet via B<open>(2) B<O_PATH>-flaget). I dette "
1168 "tilfælde kan I<dirfd> referere til enhver filtype, ikke kun en mappe. Hvis "
1169 "I<dirfd> er B<AT_FDCWD>, arbejder kaldet på den aktuelle arbejdsmappe. Dette "
1170 "flag er specifikt for Linux; definer B<_GNU_SOURCE> for at indhente dets "
1171 "definition."
1172
1173 #. type: Plain text
1174 #: debian-trixie fedora-44 fedora-rawhide
1175 msgid ""
1176 "If I<pathname> specifies a symbolic link, then update the timestamps of the "
1177 "link, rather than the file to which it refers."
1178 msgstr ""
1179 "Hvis I<stinavn> angiver en symbolsk henvisning, så opdater tidsstemplerne "
1180 "for henvisningen, frem for filen hvor den refererer til."
1181
1182 #. type: Plain text
1183 #: debian-trixie fedora-44 fedora-rawhide
1184 msgid ""
1185 "(B<utimensat>()) I<pathname> is relative but I<dirfd> is neither "
1186 "B<AT_FDCWD> nor a valid file descriptor."
1187 msgstr ""
1188 "(B<utimensat>()) I<stinavn> er relativt men I<dirfd> er hverken B<AT_FDCWD> "
1189 "eller en gyldig fildeskriptor."
1190
1191 #. type: Plain text
1192 #: debian-trixie fedora-44 fedora-rawhide
1193 msgid ""
1194 "I<times> pointed to an invalid address; or, I<dirfd> was B<AT_FDCWD>, and "
1195 "I<pathname> is NULL or an invalid address."
1196 msgstr ""
1197 "I<times> pegede på en ugydlig adresse; eller, I<dirfd> var B<AT_FDCWD>, og "
1198 "I<stinavn> er NULL eller en ugyldig adresse."
1199
1200 #. SUSv4 does not specify this error.
1201 #. type: Plain text
1202 #: debian-trixie fedora-44 fedora-rawhide
1203 msgid ""
1204 "I<pathname> is NULL, I<dirfd> is not B<AT_FDCWD>, and I<flags> contains "
1205 "B<AT_SYMLINK_NOFOLLOW>."
1206 msgstr ""
1207 "I<pathname> er NULL, I<dirfd> er ikke B<AT_FDCWD>, og I<flag> indeholder "
1208 "B<AT_SYMLINK_NOFOLLOW>."
1209
1210 #. type: Plain text
1211 #: debian-trixie fedora-44 fedora-rawhide
1212 msgid ""
1213 "(B<utimensat>()) Too many symbolic links were encountered in resolving "
1214 "I<pathname>."
1215 msgstr ""
1216 "(B<utimensat>()) For mange symbolske henvisninger blev mødt da I<stinavn> "
1217 "blev slået op."
1218
1219 #. type: Plain text
1220 #: debian-trixie fedora-44 fedora-rawhide
1221 msgid "(B<utimensat>()) I<pathname> is too long."
1222 msgstr "(B<utimensat>()) I<stinavn> er for langt."
1223
1224 #. type: Plain text
1225 #: debian-trixie fedora-44 fedora-rawhide
1226 msgid ""
1227 "(B<utimensat>()) A component of I<pathname> does not refer to an existing "
1228 "directory or file, or I<pathname> is an empty string."
1229 msgstr ""
1230 "(B<utimensat>()) En komponent af I<stinavn> refererer ikke til en "
1231 "eksisterende mappe eller fil, eller I<stinavn> er en tom streng."
1232
1233 #. type: Plain text
1234 #: debian-trixie fedora-44 fedora-rawhide
1235 msgid ""
1236 "(B<utimensat>()) I<pathname> is a relative pathname, but I<dirfd> is "
1237 "neither B<AT_FDCWD> nor a file descriptor referring to a directory; or, one "
1238 "of the prefix components of I<pathname> is not a directory."
1239 msgstr ""
1240 "(B<utimensat>()) I<stinavn> ers et relativt stinavn, men I<dirfd> er hverken "
1241 "B<AT_FDCWD> eller en fildeskriptor der referer til en mappe; eller, en af "
1242 "præfikskomponenterne i I<stinavn> er ikke en mappe."
1243
1244 #. type: Plain text
1245 #: debian-trixie fedora-44 fedora-rawhide
1246 msgid ""
1247 "(B<utimensat>()) Search permission is denied for one of the prefix "
1248 "components of I<pathname>."
1249 msgstr ""
1250 "(B<utimensat>()) Søgetilladelse er nægtet for en af præfikskomponenterne i "
1251 "I<stinavn>."
1252
1253 #. type: Plain text
1254 #: debian-trixie fedora-44 fedora-rawhide
1255 msgid ""
1256 "On Linux, B<futimens>() is a library function implemented on top of the "
1257 "B<utimensat>() system call. To support this, the Linux B<utimensat>() "
1258 "system call implements a nonstandard feature: if I<pathname> is NULL, then "
1259 "the call modifies the timestamps of the file referred to by the file "
1260 "descriptor I<dirfd> (which may refer to any type of file). Using this "
1261 "feature, the call I<futimens(fd,\\ times)> is implemented as:"
1262 msgstr ""
1263 "På Linux er B<futimens>() en biblioteksfunktion implementeret oven på "
1264 "systemkaldet B<utimensat>(). For at understøtte dette implementerer Linux-"
1265 "systemkaldet B<utimensat>() en funktion unden for standarden: hvis "
1266 "I<stinavn> er NULL, så ændrer kaldet tidsstemplerne for filen refereret til "
1267 "af fildeskriptoren I<dirfd> (der kan referere til enhver filtype). Brug af "
1268 "denne funktion implementeres kaldet I<futimens(fd,\\ times)> som:"
1269
1270 #. type: Plain text
1271 #: debian-trixie fedora-44 fedora-rawhide
1272 msgid ""
1273 "Note, however, that the glibc wrapper for B<utimensat>() disallows passing "
1274 "NULL as the value for I<pathname>: the wrapper function returns the error "
1275 "B<EINVAL> in this case."
1276 msgstr ""
1277 "Bemærk dog at glibc-omslaget for B<utimensat>() ikke tillader at sende NULL "
1278 "som værdien for I<stinavn>: omslagsfunktionen returnerer fejlen B<EINVAL> i "
1279 "dette tilfælde."
1280
1281 #. type: Plain text
1282 #: debian-trixie fedora-44 fedora-rawhide
1283 msgid "POSIX.1-2008."
1284 msgstr "POSIX.1-2008."
1285
1286 #. type: Plain text
1287 #: debian-trixie fedora-44 fedora-rawhide
1288 msgid ""
1289 "If both I<tv_nsec> fields are specified as B<UTIME_OMIT>, then the Linux "
1290 "implementation of B<utimensat>() succeeds even if the file referred to by "
1291 "I<dirfd> and I<pathname> does not exist."
1292 msgstr ""
1293 "Hvis begge I<tv_nsec>-felter er angivet som B<UTIME_OMIT>, så lykkes Linux-"
1294 "implementeringen af B<utimensat>() selv om filen refereret til af I<dirfd> "
1295 "og I<stinavn> ikke findes."
1296
1297 #. type: TH
1298 #: fedora-44 fedora-rawhide
1299 #, no-wrap
1300 msgid "2024-07-23"
1301 msgstr "23. juli 2024"
1302
1303 #. type: TH
1304 #: fedora-44 fedora-rawhide
1305 #, no-wrap
1306 msgid "Linux man-pages 6.13"
1307 msgstr "Linux man-pages 6.13"
1308
1309 #. type: TH
1310 #: mageia-cauldron
1311 #, no-wrap
1312 msgid "Linux man-pages 6.17"
1313 msgstr "Linux man-pages 6.17"
1314
1315 #. type: TH
1316 #: opensuse-leap-16-1 opensuse-tumbleweed
1317 #, no-wrap
1318 msgid "Linux man-pages (unreleased)"
1319 msgstr "Linux man-pages (ej udgivet)"