Debian Codegraph @

po/fr/man2/utimensat.2.po

raw
1 # French translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2003.
5 # Stéphan Rafin <[email protected]>, 2002.
6 # Thierry Vignaud <[email protected]>, 1999, 2002.
7 # François Micaux, 2002.
8 # Alain Portal <[email protected]>, 2003-2008.
9 # Jean-Philippe Guérard <[email protected]>, 2005-2006.
10 # Jean-Luc Coulon (f5ibh) <[email protected]>, 2006-2007.
11 # Julien Cristau <[email protected]>, 2006-2007.
12 # Thomas Huriaux <[email protected]>, 2006-2008.
13 # Nicolas François <[email protected]>, 2006-2008.
14 # Florentin Duneau <[email protected]>, 2006-2010.
15 # Simon Paillard <[email protected]>, 2006, 2012-2014.
16 # Denis Barbier <[email protected]>, 2006, 2010.
17 # David Prévot <[email protected]>, 2010, 2012-2014.
18 # Jean-Pierre Giraud <[email protected]>, 2021-2026.
19 msgid ""
20 msgstr ""
21 "Project-Id-Version: manpages-l10n 4.29.0\n"
22 "POT-Creation-Date: 2026-06-05 06:50+0200\n"
23 "PO-Revision-Date: 2026-03-28 11:11+0100\n"
24 "Last-Translator: Jean-Pierre Giraud <[email protected]>\n"
25 "Language-Team: French <[email protected]>\n"
26 "Language: fr\n"
27 "MIME-Version: 1.0\n"
28 "Content-Type: text/plain; charset=UTF-8\n"
29 "Content-Transfer-Encoding: 8bit\n"
30 "Plural-Forms: nplurals=2; plural=n > 1;\n"
31 "X-Generator: Lokalize 25.04.0\n"
32
33 #. type: TH
34 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
35 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
36 #, no-wrap
37 msgid "utimensat"
38 msgstr "utimensat"
39
40 #. type: TH
41 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
42 #: opensuse-tumbleweed
43 #, no-wrap
44 msgid "2025-10-29"
45 msgstr "29 octobre 2025"
46
47 #. type: TH
48 #: archlinux debian-unstable
49 #, no-wrap
50 msgid "Linux man-pages 6.18"
51 msgstr "Pages du manuel de Linux 6.18"
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "NAME"
58 msgstr "NOM"
59
60 #. type: Plain text
61 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
62 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "utimensat, futimens - change file timestamps with nanosecond precision"
64 msgstr ""
65 "utimensat, futimens - Modifier les horodatages d'un fichier avec une "
66 "précision d'une nanoseconde"
67
68 #. type: SH
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 #, no-wrap
72 msgid "LIBRARY"
73 msgstr "BIBLIOTHÈQUE"
74
75 #. type: Plain text
76 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
77 #: opensuse-leap-16-1 opensuse-tumbleweed
78 msgid "Standard C library (I<libc>,\\ I<-lc>)"
79 msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)"
80
81 #. type: SH
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid "SYNOPSIS"
86 msgstr "SYNOPSIS"
87
88 #. type: Plain text
89 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
90 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
91 #, no-wrap
92 msgid ""
93 "B<#include E<lt>fcntl.hE<gt>> /* Definition of B<AT_*> constants */\n"
94 "B<#include E<lt>sys/stat.hE<gt>>\n"
95 msgstr ""
96 "B<#include E<lt>fcntl.hE<gt>> /* Définition des constantes B<AT_*> */\n"
97 "B<#include E<lt>sys/stat.hE<gt>>\n"
98
99 #. type: Plain text
100 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
101 #: opensuse-tumbleweed
102 #, no-wrap
103 msgid ""
104 "B<int utimensat(int >I<dirfd>B<, const char *>I<path>B<,>\n"
105 "B< const struct timespec >I<times>B<[_Nullable 2], int >I<flags>B<);>\n"
106 "B<int futimens(int >I<fd>B<, const struct timespec >I<times>B<[_Nullable 2]);>\n"
107 msgstr ""
108 "B<int utimensat(int >I<dirfd>B<, const char *>I<path>B<,>\n"
109 "B< const struct timespec >I<times>B<[_Nullable 2], int >I<flags>B<);>\n"
110 "B<int futimens(int >I<fd>B<, const struct timespec >I<times>B<[_Nullable 2]);>\n"
111
112 #. type: Plain text
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
115 msgid ""
116 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
117 msgstr ""
118 "Exigences de macros de test de fonctionnalités pour la glibc (consulter "
119 "B<feature_test_macros>(7)) :"
120
121 #. type: Plain text
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 msgid "B<utimensat>():"
125 msgstr "B<utimensat>():"
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 #, no-wrap
131 msgid ""
132 " Since glibc 2.10:\n"
133 " _POSIX_C_SOURCE E<gt>= 200809L\n"
134 " Before glibc 2.10:\n"
135 " _ATFILE_SOURCE\n"
136 msgstr ""
137 " Depuis la glibc 2.10 :\n"
138 " _POSIX_C_SOURCE E<gt>= 200809L\n"
139 " avant la glibc 2.10 :\n"
140 " _ATFILE_SOURCE\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 "B<futimens>():"
146 msgstr "B<futimens>():"
147
148 #. type: Plain text
149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
151 #, no-wrap
152 msgid ""
153 " Since glibc 2.10:\n"
154 " _POSIX_C_SOURCE E<gt>= 200809L\n"
155 " Before glibc 2.10:\n"
156 " _GNU_SOURCE\n"
157 msgstr ""
158 " Depuis la glibc 2.10 :\n"
159 " _POSIX_C_SOURCE E<gt>= 200809L\n"
160 " Avant la glibc 2.10 :\n"
161 " _GNU_SOURCE\n"
162
163 #. type: SH
164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
166 #, no-wrap
167 msgid "DESCRIPTION"
168 msgstr "DESCRIPTION"
169
170 #. type: Plain text
171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
173 msgid ""
174 "B<utimensat>() and B<futimens>() update the timestamps of a file with "
175 "nanosecond precision. This contrasts with the historical B<utime>(2) and "
176 "B<utimes>(2), which permit only second and microsecond precision, "
177 "respectively, when setting file timestamps."
178 msgstr ""
179 "B<utimensat>() et B<futimens>() mettent à jour les horodatages d'un fichier "
180 "avec une précision d'une nanoseconde. Cela change de l'appel historique ou "
181 "de B<utimes>(2) qui permettent seulement une précision d'une seconde et "
182 "d'une microseconde respectivement pour l'établissement des horodatages de "
183 "fichier."
184
185 #. type: Plain text
186 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
187 #: opensuse-tumbleweed
188 msgid ""
189 "With B<utimensat>() the file is specified via the pathname given in "
190 "I<path>. With B<futimens>() the file whose timestamps are to be updated is "
191 "specified via an open file descriptor, I<fd>."
192 msgstr ""
193 "Avec B<utimensat>(), le fichier est indiqué à l'aide du chemin fourni dans "
194 "I<path>. Avec B<futimens>(), le fichier dont les horodatages doivent être "
195 "mis à jour est indiqué par un descripteur de fichier ouvert, I<fd>."
196
197 #. type: Plain text
198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
200 msgid ""
201 "For both calls, the new file timestamps are specified in the array I<times>: "
202 "I<times[0]> specifies the new \"last access time\" (I<atime>); I<times[1]> "
203 "specifies the new \"last modification time\" (I<mtime>). Each of the "
204 "elements of I<times> specifies a time as the number of seconds and "
205 "nanoseconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC). This "
206 "information is conveyed in a B<timespec>(3) structure."
207 msgstr ""
208 "Pour les deux appels, les nouveaux horodatages de fichier sont indiqués dans "
209 "le tableau I<times[0]> : I<times> indique l'horodatage du dernier accès "
210 "(I<atime>) ; I<times[1]> indique l'horodatage de la dernière modification "
211 "(I<mtime>). Chaque élément de I<times> indique une date par un nombre de "
212 "secondes et de nanosecondes depuis l'époque POSIX (1er\\ janvier 1970 à\\ "
213 "00:00:00 UTC). Cette information est transmise dans une structure "
214 "B<timespec>(3)."
215
216 #. type: Plain text
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 msgid ""
220 "Updated file timestamps are set to the greatest value supported by the "
221 "filesystem that is not greater than the specified time."
222 msgstr ""
223 "Les horodatages de fichier mis à jour sont configurés à la valeur la plus "
224 "importante gérée par le système de fichiers et qui n'est pas supérieure à "
225 "l'horodatage fourni."
226
227 #. 2.6.22 was broken: it is not ignored
228 #. type: Plain text
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 msgid ""
232 "If the I<tv_nsec> field of one of the I<timespec> structures has the special "
233 "value B<UTIME_NOW>, then the corresponding file timestamp is set to the "
234 "current time. If the I<tv_nsec> field of one of the I<timespec> structures "
235 "has the special value B<UTIME_OMIT>, then the corresponding file timestamp "
236 "is left unchanged. In both of these cases, the value of the corresponding "
237 "I<tv_sec> field is ignored."
238 msgstr ""
239 "Si le champ I<tv_nsec> d'une des structures I<timespec> prend la valeur "
240 "particulière B<UTIME_NOW>, alors l'horodatage correspondant du fichier est "
241 "défini à l'heure actuelle. Si le champ I<tv_nsec> d'une des structures "
242 "I<timespec> prend la valeur particulière B<UTIME_OMIT>, alors l'horodatage "
243 "correspondant du fichier reste inchangé. Dans ces deux cas, la valeur du "
244 "champ I<tv_sec> est ignoré."
245
246 #. type: Plain text
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 msgid "If I<times> is NULL, then both timestamps are set to the current time."
250 msgstr ""
251 "Si I<times> est NULL, les deux horodatages sont définis à l'heure actuelle."
252
253 #. type: Plain text
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 msgid ""
257 "The status change time (ctime) will be set to the current time, even if the "
258 "other time stamps don't actually change."
259 msgstr ""
260 "L'heure du changement d'état (ctime) sera réglée à l'heure actuelle, même "
261 "si les autres horodatages ne sont pas vraiment modifiés."
262
263 #. type: SS
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 #, no-wrap
267 msgid "Permissions requirements"
268 msgstr "Droits d'accès nécessaires"
269
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 ""
274 "To set both file timestamps to the current time (i.e., I<times> is NULL, or "
275 "both I<tv_nsec> fields specify B<UTIME_NOW>), either:"
276 msgstr ""
277 "Pour définir les deux horodatages à l'heure actuelle (c'est-à-dire quand "
278 "I<times> vaut NULL ou que les deux champs I<tv_nsec> valent B<UTIME_NOW>), "
279 "il faut :"
280
281 #. type: IP
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 #, no-wrap
285 msgid "\\[bu]"
286 msgstr "-"
287
288 #. 2.6.22 was broken here -- for futimens() the check is
289 #. based on whether or not the file descriptor is writable,
290 #. not on whether the caller's effective UID has write
291 #. permission for the file referred to by the descriptor.
292 #. type: Plain text
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 msgid "the caller must have write access to the file;"
296 msgstr "soit que l'utilisateur ait les droits d'écriture sur le fichier ;"
297
298 #. type: Plain text
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 msgid "the caller's effective user ID must match the owner of the file; or"
302 msgstr ""
303 "soit que l'identifiant effectif de l'appelant corresponde au propriétaire du "
304 "fichier ;"
305
306 #. type: Plain text
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 msgid "the caller must have appropriate privileges."
310 msgstr "ou bien que le processus appelant ait les privilèges nécessaires."
311
312 #. 2.6.22 was broken here:
313 #. both must be something other than *either* UTIME_OMIT *or* UTIME_NOW.
314 #. type: Plain text
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 msgid ""
318 "To make any change other than setting both timestamps to the current time "
319 "(i.e., I<times> is not NULL, and neither I<tv_nsec> field is B<UTIME_NOW> "
320 "and neither I<tv_nsec> field is B<UTIME_OMIT>), either condition 2 or 3 "
321 "above must apply."
322 msgstr ""
323 "Pour pouvoir effectuer d'autres changements que de définir les horodatages à "
324 "l'heure actuelle (c'est-à-dire quand I<times> n'est pas NULL et que ni le "
325 "champ I<tv_nsec> ne vaut B<UTIME_NOW>, ni le champ I<tv_nsec> ne vaut "
326 "B<UTIME_OMIT>), les conditions 2 ou 3 ci-dessus s'appliquent."
327
328 #. type: Plain text
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 msgid ""
332 "If both I<tv_nsec> fields are specified as B<UTIME_OMIT>, then no file "
333 "ownership or permission checks are performed, and the file timestamps are "
334 "not modified, but other error conditions may still be detected."
335 msgstr ""
336 "Si les deux champs I<tv_nsec> valent B<UTIME_OMIT>, aucune vérification "
337 "n'est effectuée sur le propriétaire ou les permissions et les horodatages ne "
338 "sont pas modifiés, mais les autres situations d'erreur sont toujours "
339 "détectées."
340
341 #. type: SS
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 #, no-wrap
345 msgid "utimensat() specifics"
346 msgstr "Spécificités de utimensat()"
347
348 #. type: Plain text
349 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
350 #: opensuse-tumbleweed
351 msgid ""
352 "If I<path> is relative, then by default it is interpreted relative to the "
353 "directory referred to by the open file descriptor, I<dirfd> (rather than "
354 "relative to the current working directory of the calling process, as is done "
355 "by B<utimes>(2) for a relative pathname). See B<openat>(2) for an "
356 "explanation of why this can be useful."
357 msgstr ""
358 "Si le chemin donné dans I<path> est relatif, il est par défaut interprété "
359 "par rapport au répertoire référencé par le descripteur de fichier ouvert "
360 "I<dirfd> (plutôt que par rapport au répertoire courant du processus, comme "
361 "pour B<utimes>(2) pour les chemins relatifs). Consultez B<openat>(2) pour "
362 "avoir les raisons pour lesquelles cela peut être utile."
363
364 #. type: Plain text
365 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
366 #: opensuse-tumbleweed
367 msgid ""
368 "If I<path> is relative and I<dirfd> is the special value B<AT_FDCWD>, then "
369 "I<path> is interpreted relative to the current working directory of the "
370 "calling process (like B<utimes>(2))."
371 msgstr ""
372 "Si I<path> est un chemin relatif, et si I<dirfd> a la valeur spéciale "
373 "B<AT_FDCWD>, alors I<path> est interprété par rapport au répertoire courant "
374 "du processus appelant, comme dans B<utimes>(2)."
375
376 #. type: Plain text
377 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
378 #: opensuse-tumbleweed
379 msgid "If I<path> is absolute, then I<dirfd> is ignored."
380 msgstr "Si I<path> est absolu, alors I<dirfd> est ignoré."
381
382 #. type: Plain text
383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
385 msgid ""
386 "The I<flags> argument is a bit mask created by ORing together zero or more "
387 "of the following values defined in I<E<lt>fcntl.hE<gt>>:"
388 msgstr ""
389 "Le paramètre I<flags> est un masque de bits créé par un OU binaire entre "
390 "zéro ou plus des valeurs suivantes définies dans I<E<lt>fcntl.hE<gt>> :"
391
392 #. type: TP
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 #, no-wrap
396 msgid "B<AT_EMPTY_PATH> (since Linux 5.8)"
397 msgstr "B<AT_EMPTY_PATH> (depuis Linux 5.8)"
398
399 #. type: Plain text
400 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
401 #: opensuse-tumbleweed
402 msgid ""
403 "If I<path> is an empty string, operate on the file referred to by I<dirfd> "
404 "(which may have been obtained using the B<open>(2) B<O_PATH> flag). In "
405 "this case, I<dirfd> can refer to any type of file, not just a directory. If "
406 "I<dirfd> is B<AT_FDCWD>, the call operates on the current working "
407 "directory. This flag is Linux-specific; define B<_GNU_SOURCE> to obtain its "
408 "definition."
409 msgstr ""
410 "Si I<path> est une chaîne vide, opérer sur le fichier auquel I<dirfd> fait "
411 "référence (qui peut avoir été obtenu en utilisant le paramètre B<O_PATH> de "
412 "B<open>(2)). Dans ce cas, I<dirfd> peut faire référence à tout type de "
413 "fichier, pas seulement à un répertoire. Si I<dirfd> est B<AT_FDCWD>, l'appel "
414 "opère sur le répertoire de travail en cours. Ce paramètre est spécifique à "
415 "Linux ; définir B<_GNU_SOURCE> pour obtenir sa définition."
416
417 #. type: TP
418 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
419 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
420 #, no-wrap
421 msgid "B<AT_SYMLINK_NOFOLLOW>"
422 msgstr "B<AT_SYMLINK_NOFOLLOW>"
423
424 #. type: Plain text
425 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
426 #: opensuse-tumbleweed
427 msgid ""
428 "If I<path> specifies a symbolic link, then update the timestamps of the "
429 "link, rather than the file to which it refers."
430 msgstr ""
431 "Si I<path> indique un lien symbolique, alors mettre à jour l'horodatage du "
432 "lien, plutôt que du fichier pointé."
433
434 #. type: SH
435 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
436 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
437 #, no-wrap
438 msgid "RETURN VALUE"
439 msgstr "VALEUR RENVOYÉE"
440
441 #. type: Plain text
442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
444 msgid ""
445 "On success, B<utimensat>() and B<futimens>() return 0. On error, -1 is "
446 "returned and I<errno> is set to indicate the error."
447 msgstr ""
448 "S'ils réussissent, les appels B<utimensat>() et B<futimens>() renvoient "
449 "zéro, sinon ils renvoient B<-1> et I<errno> est défini pour indiquer "
450 "l'erreur."
451
452 #. type: SH
453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
455 #, no-wrap
456 msgid "ERRORS"
457 msgstr "ERREURS"
458
459 #. type: TP
460 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
461 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
462 #, no-wrap
463 msgid "B<EACCES>"
464 msgstr "B<EACCES>"
465
466 #. But Linux 2.6.22 was broken here.
467 #. Traditionally, utime()/utimes() gives the error EACCES for the case
468 #. where the timestamp pointer argument is NULL (i.e., set both timestamps
469 #. to the current time), and the file is owned by a user other than the
470 #. effective UID of the caller, and the file is not writable by the
471 #. effective UID of the program. utimensat() also gives this error in the
472 #. same case. However, in the same circumstances, when utimensat() is
473 #. given a 'times' array in which both tv_nsec fields are UTIME_NOW, which
474 #. provides equivalent functionality to specifying 'times' as NULL, the
475 #. call succeeds. It should fail with the error EACCES in this case.
476 #. POSIX.1-2008 has the following:
477 #. .TP
478 #. .B EACCES
479 #. .RB ( utimensat ())
480 #. .I fd
481 #. was not opened with
482 #. .B O_SEARCH
483 #. and the permissions of the directory to which
484 #. .I fd
485 #. refers do not allow searches.
486 #. EXT2_IMMUTABLE_FL and similar flags for other filesystems.
487 #. type: Plain text
488 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
489 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
490 msgid ""
491 "I<times> is NULL, or both I<tv_nsec> values are B<UTIME_NOW>, and the "
492 "effective user ID of the caller does not match the owner of the file, the "
493 "caller does not have write access to the file, and the caller is not "
494 "privileged (Linux: does not have either the B<CAP_FOWNER> or the "
495 "B<CAP_DAC_OVERRIDE> capability)."
496 msgstr ""
497 "I<times> vaut NULL ou les deux champs I<tv_nsec> valent B<UTIME_NOW> et "
498 "l'identifiant de l'utilisateur effectif de l'appelant ne correspond pas au "
499 "propriétaire du fichier, l'appelant n'a pas la permission d'écriture sur le "
500 "fichier et l'appelant n'est pas privilégié (sous Linux : n'a ni la capacité "
501 "B<CAP_FOWNER>, ni la capacité B<CAP_DAC_OVERRIDE>)."
502
503 #. type: TP
504 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
505 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
506 #, no-wrap
507 msgid "B<EBADF>"
508 msgstr "B<EBADF>"
509
510 #. type: Plain text
511 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
512 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
513 msgid "(B<futimens>()) I<fd> is not a valid file descriptor."
514 msgstr "(B<futimens>()) I<fd> n'est pas un descripteur de fichier valable."
515
516 #. type: Plain text
517 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
518 #: opensuse-tumbleweed
519 msgid ""
520 "(B<utimensat>()) I<path> is relative but I<dirfd> is neither B<AT_FDCWD> "
521 "nor a valid file descriptor."
522 msgstr ""
523 "(B<utimensat>()) I<path> est relatif, mais I<dirfd> n'est ni B<AT_FDCWD>, ni "
524 "un descripteur de fichier valable."
525
526 #. type: TP
527 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
528 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
529 #, no-wrap
530 msgid "B<EFAULT>"
531 msgstr "B<EFAULT>"
532
533 #. type: Plain text
534 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
535 #: opensuse-tumbleweed
536 msgid ""
537 "I<times> pointed to an invalid address; or, I<dirfd> was B<AT_FDCWD>, and "
538 "I<path> is NULL or an invalid address."
539 msgstr ""
540 "I<times> pointe vers une adresse incorrecte ; ou I<dirfd> valait B<AT_FDCWD> "
541 "et I<path> est NULL ou une adresse incorrecte."
542
543 #. type: TP
544 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
545 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
546 #, no-wrap
547 msgid "B<EINVAL>"
548 msgstr "B<EINVAL>"
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 "Invalid value in I<flags>."
554 msgstr "Valeur incorrecte dans I<flags>."
555
556 #. type: Plain text
557 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
558 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
559 msgid ""
560 "Invalid value in one of the I<tv_nsec> fields (value outside range [0, "
561 "999,999,999], and not B<UTIME_NOW> or B<UTIME_OMIT>); or an invalid value in "
562 "one of the I<tv_sec> fields."
563 msgstr ""
564 "Valeur incorrecte dans un des champs I<tv_nsec> (valeur en dehors de "
565 "l'intervalle allant de 0 à 999 999 999 et ne valant ni B<UTIME_NOW>, ni "
566 "B<UTIME_OMIT>) ; ou une valeur incorrecte dans un des champs I<tv_sec>."
567
568 #. SUSv4 does not specify this error.
569 #. type: Plain text
570 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
571 #: opensuse-tumbleweed
572 msgid ""
573 "I<path> is NULL, I<dirfd> is not B<AT_FDCWD>, and I<flags> contains "
574 "B<AT_SYMLINK_NOFOLLOW>."
575 msgstr ""
576 "I<path> est NULL, I<dirfd> ne vaut pas B<AT_FDCWD> et I<flags> contient "
577 "B<AT_SYMLINK_NOFOLLOW>."
578
579 #. type: TP
580 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
581 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
582 #, no-wrap
583 msgid "B<ELOOP>"
584 msgstr "B<ELOOP>"
585
586 #. type: Plain text
587 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
588 #: opensuse-tumbleweed
589 msgid ""
590 "(B<utimensat>()) Too many symbolic links were encountered in resolving "
591 "I<path>."
592 msgstr ""
593 "(B<utimensat>()) Trop de liens symboliques ont été rencontrés en parcourant "
594 "I<path>."
595
596 #. type: TP
597 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
598 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
599 #, no-wrap
600 msgid "B<ENAMETOOLONG>"
601 msgstr "B<ENAMETOOLONG>"
602
603 #. type: Plain text
604 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
605 #: opensuse-tumbleweed
606 msgid "(B<utimensat>()) I<path> is too long."
607 msgstr "(B<utimensat>()) I<path> est trop long."
608
609 #. type: TP
610 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
611 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
612 #, no-wrap
613 msgid "B<ENOENT>"
614 msgstr "B<ENOENT>"
615
616 #. type: Plain text
617 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
618 #: opensuse-tumbleweed
619 msgid ""
620 "(B<utimensat>()) A component of I<path> does not refer to an existing "
621 "directory or file, or I<path> is an empty string."
622 msgstr ""
623 "(B<utimensat>()) Un élément du chemin d'accès I<path> ne correspond pas à un "
624 "répertoire ou à un fichier existant, ou I<path> est une chaîne vide."
625
626 #. type: TP
627 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
628 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
629 #, no-wrap
630 msgid "B<ENOTDIR>"
631 msgstr "B<ENOTDIR>"
632
633 #. type: Plain text
634 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
635 #: opensuse-tumbleweed
636 msgid ""
637 "(B<utimensat>()) I<path> is relative, but I<dirfd> is neither B<AT_FDCWD> "
638 "nor a file descriptor referring to a directory; or, one of the prefix "
639 "components of I<path> is not a directory."
640 msgstr ""
641 "(B<utimensat>()) I<path> est relatif, mais I<dirfd> n'est ni B<AT_FDCWD>, "
642 "niun descripteur de fichier correspondant à un répertoire ; ou l'un des "
643 "composants au début de I<path> n'est pas un répertoire."
644
645 #. type: TP
646 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
647 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
648 #, no-wrap
649 msgid "B<EPERM>"
650 msgstr "B<EPERM>"
651
652 #. type: Plain text
653 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
654 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
655 msgid ""
656 "The caller attempted to change one or both timestamps to a value other than "
657 "the current time, or to change one of the timestamps to the current time "
658 "while leaving the other timestamp unchanged, (i.e., I<times> is not NULL, "
659 "neither I<tv_nsec> field is B<UTIME_NOW>, and neither I<tv_nsec> field is "
660 "B<UTIME_OMIT>) and either:"
661 msgstr ""
662 "L'appelant a essayé de modifier un horodatage (ou les deux) en une valeur "
663 "autre que l'heure actuelle ou de modifier un des horodatages en l'heure "
664 "actuelle sans changer l'autre horodatage (c'est-à-dire I<times> n'est pas "
665 "NULL, aucun des deux champs I<tv_nsec> ne vaut B<UTIME_NOW> et aucun des "
666 "deux champs I<tv_nsec> ne vaut B<UTIME_OMIT>) et :"
667
668 #. type: Plain text
669 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
670 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
671 msgid ""
672 "the caller's effective user ID does not match the owner of file, and the "
673 "caller is not privileged (Linux: does not have the B<CAP_FOWNER> "
674 "capability); or,"
675 msgstr ""
676 "l'identifiant d'utilisateur effectif de l'appelant ne correspond pas au "
677 "propriétaire du fichier et l'appelant n'est pas privilégié (sous Linux : n'a "
678 "pas la capacité B<CAP_FOWNER>) ; ou,"
679
680 #
681 #. Linux 2.6.22 was broken here:
682 #. it was not consistent with the old utimes() implementation,
683 #. since the case when both tv_nsec fields are UTIME_NOW, was not
684 #. treated like the (times == NULL) case.
685 #. EXT2_IMMUTABLE_FL EXT_APPEND_FL and similar flags for
686 #. other filesystems.
687 #. Why the inconsistency (which is described under NOTES) between
688 #. EACCES and EPERM, where only EPERM tests for append-only.
689 #. (This was also so for the older utimes() implementation.)
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 "the file is marked append-only or immutable (see B<chattr>(1))."
694 msgstr ""
695 "le fichier est marqué comme n'acceptant que des ajouts ou est immuable (voir "
696 "B<chattr>(1))."
697
698 #. type: TP
699 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
700 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
701 #, no-wrap
702 msgid "B<EROFS>"
703 msgstr "B<EROFS>"
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 "The file is on a read-only filesystem."
709 msgstr "Le fichier se trouve sur un système de fichiers en lecture seule."
710
711 #. type: TP
712 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
713 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
714 #, no-wrap
715 msgid "B<ESRCH>"
716 msgstr "B<ESRCH>"
717
718 #. type: Plain text
719 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
720 #: opensuse-tumbleweed
721 msgid ""
722 "(B<utimensat>()) Search permission is denied for one of the prefix "
723 "components of I<path>."
724 msgstr ""
725 "(B<utimensat>()) Un élément au début du chemin d'accès I<path> ne permet pas "
726 "le parcours."
727
728 #. type: SH
729 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
730 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
731 #, no-wrap
732 msgid "ATTRIBUTES"
733 msgstr "ATTRIBUTS"
734
735 #. type: Plain text
736 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
737 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
738 msgid ""
739 "For an explanation of the terms used in this section, see B<attributes>(7)."
740 msgstr ""
741 "Pour une explication des termes utilisés dans cette section, consulter "
742 "B<attributes>(7)."
743
744 #. type: tbl table
745 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
746 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
747 #, no-wrap
748 msgid "Interface"
749 msgstr "Interface"
750
751 #. type: tbl table
752 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
753 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
754 #, no-wrap
755 msgid "Attribute"
756 msgstr "Attribut"
757
758 #. type: tbl table
759 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
760 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
761 #, no-wrap
762 msgid "Value"
763 msgstr "Valeur"
764
765 #. type: tbl table
766 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
767 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
768 #, no-wrap
769 msgid ".na\n"
770 msgstr ".na\n"
771
772 #. type: tbl table
773 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
774 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
775 #, no-wrap
776 msgid ".nh\n"
777 msgstr ".nh\n"
778
779 #. type: tbl table
780 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
781 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
782 #, no-wrap
783 msgid ""
784 "B<utimensat>(),\n"
785 "B<futimens>()"
786 msgstr ""
787 "B<utimensat>(),\n"
788 "B<futimens>()"
789
790 #. type: tbl table
791 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
792 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
793 #, no-wrap
794 msgid "Thread safety"
795 msgstr "Sécurité des threads"
796
797 #. type: tbl table
798 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
799 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
800 #, no-wrap
801 msgid "MT-Safe"
802 msgstr "MT-Safe"
803
804 #. type: SH
805 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
806 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
807 #, no-wrap
808 msgid "VERSIONS"
809 msgstr "VERSIONS"
810
811 #. type: SS
812 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
813 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
814 #, no-wrap
815 msgid "C library/kernel ABI differences"
816 msgstr "Différences entre la bibliothèque C et l'ABI du noyau"
817
818 #. type: Plain text
819 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
820 #: opensuse-tumbleweed
821 msgid ""
822 "On Linux, B<futimens>() is a library function implemented on top of the "
823 "B<utimensat>() system call. To support this, the Linux B<utimensat>() "
824 "system call implements a nonstandard feature: if I<path> is NULL, then the "
825 "call modifies the timestamps of the file referred to by the file descriptor "
826 "I<dirfd> (which may refer to any type of file). Using this feature, the "
827 "call I<futimens(fd,\\ times)> is implemented as:"
828 msgstr ""
829 "Sous Linux, B<futimens>() est une fonction de bibliothèque implémentée à "
830 "l'aide de l'appel système B<utimensat>(). Pour cela, l'appel système "
831 "B<utimensat>() de Linux implémente une fonctionnalité non standard : si "
832 "I<path> est NULL, alors l'appel modifie les horodatages du fichier "
833 "correspondant au descripteur de fichier I<dirfd> (qui peut correspondre à "
834 "n'importe quel type de fichier). En utilisant cette fonctionnalité, l'appel "
835 "I<futimens(fd,\\ times)> est implémenté comme ceci :"
836
837 #. type: Plain text
838 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
839 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
840 #, no-wrap
841 msgid "utimensat(fd, NULL, times, 0);\n"
842 msgstr "utimensat(fd, NULL, times, 0);\n"
843
844 #. type: Plain text
845 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
846 #: opensuse-tumbleweed
847 msgid ""
848 "Note, however, that the glibc wrapper for B<utimensat>() disallows passing "
849 "NULL as the value for I<path>: the wrapper function returns the error "
850 "B<EINVAL> in this case."
851 msgstr ""
852 "Notez néanmoins que l'enveloppe de la glibc pour B<utimensat>() n'autorise "
853 "pas le passage de NULL comme valeur de I<path> : dans ce cas, la fonction "
854 "d'enveloppe renvoie l'erreur I<EINVAL>."
855
856 #. type: SH
857 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
858 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
859 #, no-wrap
860 msgid "STANDARDS"
861 msgstr "NORMES"
862
863 #. type: Plain text
864 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
865 #: opensuse-tumbleweed
866 msgid "POSIX.1-2024."
867 msgstr "POSIX.1-2024."
868
869 #. type: SH
870 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
871 #: opensuse-tumbleweed
872 #, no-wrap
873 msgid "HISTORY"
874 msgstr "HISTORIQUE"
875
876 #. type: TP
877 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
878 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
879 #, no-wrap
880 msgid "B<utimensat>()"
881 msgstr "B<utimensat>()"
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 "Linux 2.6.22, glibc 2.6. POSIX.1-2008."
887 msgstr "Linux 2.6.22, glibc 2.6. POSIX.1-2008."
888
889 #. type: TP
890 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
891 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
892 #, no-wrap
893 msgid "B<futimens>()"
894 msgstr "B<futimens>()"
895
896 #. type: Plain text
897 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
898 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
899 msgid "glibc 2.6. POSIX.1-2008."
900 msgstr "glibc 2.6. POSIX.1-2008."
901
902 #. type: SH
903 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
904 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
905 #, no-wrap
906 msgid "NOTES"
907 msgstr "NOTES"
908
909 #. type: Plain text
910 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
911 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
912 msgid "B<utimensat>() obsoletes B<futimesat>(2)."
913 msgstr "B<utimensat>() rend B<futimesat>(2) obsolète."
914
915 #. type: Plain text
916 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
917 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
918 msgid ""
919 "On Linux, timestamps cannot be changed for a file marked immutable, and the "
920 "only change permitted for files marked append-only is to set the timestamps "
921 "to the current time. (This is consistent with the historical behavior of "
922 "B<utime>(2) and B<utimes>(2) on Linux.)"
923 msgstr ""
924 "Sous Linux, les horodatages ne peuvent pas être modifiés pour un fichier "
925 "marqué comme étant immuable, et la seule modification autorisée pour les "
926 "fichiers n'autorisant que des ajouts est de définir les horodatages à "
927 "l'heure actuelle. C'est cohérent avec le comportement historique de "
928 "B<utime>(2) et de B<utimes>(2) sous Linux"
929
930 #. type: Plain text
931 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
932 #: opensuse-tumbleweed
933 msgid ""
934 "If both I<tv_nsec> fields are specified as B<UTIME_OMIT>, then the Linux "
935 "implementation of B<utimensat>() succeeds even if the file referred to by "
936 "I<dirfd> and I<path> does not exist."
937 msgstr ""
938 "Si les deux champs I<tv_nsec> valent B<UTIME_OMIT>, alors l'implémentation "
939 "de B<utimensat>() dans Linux réussit même si le fichier référencé par "
940 "I<dirfd> et I<path> n'existe pas."
941
942 #. type: SH
943 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
944 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
945 #, no-wrap
946 msgid "BUGS"
947 msgstr "BOGUES"
948
949 #. type: Plain text
950 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
951 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
952 msgid ""
953 "Several bugs afflict B<utimensat>() and B<futimens>() before Linux "
954 "2.6.26. These bugs are either nonconformances with the POSIX.1 draft "
955 "specification or inconsistencies with historical Linux behavior."
956 msgstr ""
957 "Plusieurs bogues affectent B<utimensat>() et B<futimens>() avant Linux "
958 "2.6.26. Ces bogues sont soit des non conformités avec le brouillon de la "
959 "spécification POSIX.1, soit des incohérences avec le comportement historique "
960 "de Linux."
961
962 #. type: Plain text
963 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
964 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
965 msgid ""
966 "POSIX.1 specifies that if one of the I<tv_nsec> fields has the value "
967 "B<UTIME_NOW> or B<UTIME_OMIT>, then the value of the corresponding I<tv_sec> "
968 "field should be ignored. Instead, the value of the I<tv_sec> field is "
969 "required to be 0 (or the error B<EINVAL> results)."
970 msgstr ""
971 "POSIX.1 spécifie que si un des champs I<tv_nsec> prend la valeur "
972 "B<UTIME_NOW> ou B<UTIME_OMIT>, alors la valeur du champs I<tv_sec> "
973 "correspondant doit être ignorée. À la place, la valeur du champ I<tv_sec> "
974 "doit être nulle (ou une erreur B<EINVAL> sera produite)."
975
976 #. Below, the long description of the errors from the previous bullet
977 #. point (abridged because it's too much detail for a man page).
978 #. .IP \[bu]
979 #. If one of the
980 #. .I tv_nsec
981 #. fields is
982 #. .BR UTIME_OMIT
983 #. and the other is
984 #. .BR UTIME_NOW ,
985 #. then the error
986 #. .B EPERM
987 #. should occur if the process's effective user ID does not match
988 #. the file owner and the process is not privileged.
989 #. Instead, the call successfully changes one of the timestamps.
990 #. .IP \[bu]
991 #. If file is not writable by the effective user ID of the process and
992 #. the process's effective user ID does not match the file owner and
993 #. the process is not privileged,
994 #. and
995 #. .I times
996 #. is NULL, then the error
997 #. .B EACCES
998 #. results.
999 #. This error should also occur if
1000 #. .I times
1001 #. points to an array of structures in which both
1002 #. .I tv_nsec
1003 #. fields are
1004 #. .BR UTIME_NOW .
1005 #. Instead the call succeeds.
1006 #. .IP \[bu]
1007 #. If a file is marked as append-only (see
1008 #. .BR chattr (1)),
1009 #. then Linux traditionally
1010 #. (i.e.,
1011 #. .BR utime (2),
1012 #. .BR utimes (2)),
1013 #. permits a NULL
1014 #. .I times
1015 #. argument to be used in order to update both timestamps to the current time.
1016 #. For consistency,
1017 #. .BR utimensat ()
1018 #. and
1019 #. .BR futimens ()
1020 #. should also produce the same result when given a
1021 #. .I times
1022 #. argument that points to an array of structures in which both
1023 #. .I tv_nsec
1024 #. fields are
1025 #. .BR UTIME_NOW .
1026 #. Instead, the call fails with the error
1027 #. .BR EPERM .
1028 #. .IP \[bu]
1029 #. If a file is marked as immutable (see
1030 #. .BR chattr (1)),
1031 #. then Linux traditionally
1032 #. (i.e.,
1033 #. .BR utime (2),
1034 #. .BR utimes (2)),
1035 #. gives an
1036 #. .B EACCES
1037 #. error if
1038 #. .I times
1039 #. is NULL.
1040 #. For consistency,
1041 #. .BR utimensat ()
1042 #. and
1043 #. .BR futimens ()
1044 #. should also produce the same result when given a
1045 #. .I times
1046 #. that points to an array of structures in which both
1047 #. .I tv_nsec
1048 #. fields are
1049 #. .BR UTIME_NOW .
1050 #. Instead, the call fails with the error
1051 #. .BR EPERM .
1052 #. type: Plain text
1053 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1054 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1055 msgid ""
1056 "Various bugs mean that for the purposes of permission checking, the case "
1057 "where both I<tv_nsec> fields are set to B<UTIME_NOW> isn't always treated "
1058 "the same as specifying I<times> as NULL, and the case where one I<tv_nsec> "
1059 "value is B<UTIME_NOW> and the other is B<UTIME_OMIT> isn't treated the same "
1060 "as specifying I<times> as a pointer to an array of structures containing "
1061 "arbitrary time values. As a result, in some cases: a) file timestamps can "
1062 "be updated by a process that shouldn't have permission to perform updates; "
1063 "b) file timestamps can't be updated by a process that should have permission "
1064 "to perform updates; and c) the wrong I<errno> value is returned in case of "
1065 "an error."
1066 msgstr ""
1067 "Ces bogues indiquent que pour ce qui est de la vérification des droits, le "
1068 "cas où les deux champs I<tv_nsec> ne valent pas B<UTIME_NOW> n'est pas "
1069 "toujours traité de la même façon que lorsque I<times> est NULL, et le cas où "
1070 "une des valeurs I<tv_nsec> vaut B<UTIME_NOW> et l'autre vaut B<UTIME_OMIT> "
1071 "n'est pas traité de la même façon que quand I<times> pointe vers un tableau "
1072 "de structures contenant des valeurs de temps arbitraires. De ce fait, il se "
1073 "peut que : a) des horodatages de fichier puissent être mis à jour par un "
1074 "processus qui ne devrait pas avoir le droit de faire ces mises à jour ; b) "
1075 "des horodatages de fichier ne puissent pas être mis à jour par un processus "
1076 "qui devrait avoir le droit de faire ces mises à jour ; et c) la mauvaise "
1077 "valeur d'I<errno> puisse être renvoyée en cas d'erreur."
1078
1079 #. This means that a process with a file descriptor that allows
1080 #. writing could change the timestamps of a file for which it
1081 #. does not have write permission;
1082 #. conversely, a process with a read-only file descriptor won't
1083 #. be able to update the timestamps of a file,
1084 #. even if it has write permission on the file.
1085 #. type: Plain text
1086 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1087 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1088 msgid ""
1089 "POSIX.1 says that a process that has I<write access to the file> can make a "
1090 "call with I<times> as NULL, or with I<times> pointing to an array of "
1091 "structures in which both I<tv_nsec> fields are B<UTIME_NOW>, in order to "
1092 "update both timestamps to the current time. However, B<futimens>() instead "
1093 "checks whether the I<access mode of the file descriptor allows writing>."
1094 msgstr ""
1095 "POSIX.1 indique qu'un processus qui a les I<droits d'accès en écriture pour "
1096 "un fichier> peut faire un appel avec I<times> valant NULL ou avec I<times> "
1097 "pointant vers un tableau de structures dans lesquelles les deux champs "
1098 "I<tv_nsec> valent B<UTIME_NOW> pour mettre à jour les deux horodatages à "
1099 "l'heure actuelle. Cependant, B<futimens>() vérifie à la place si le I<mode "
1100 "d'accès du descripteur de fichier permet l'écriture>."
1101
1102 #. type: SH
1103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1105 #, no-wrap
1106 msgid "SEE ALSO"
1107 msgstr "VOIR AUSSI"
1108
1109 #. type: Plain text
1110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1112 msgid ""
1113 "B<chattr>(1), B<touch>(1), B<futimesat>(2), B<openat>(2), B<stat>(2), "
1114 "B<utimes>(2), B<futimes>(3), B<timespec>(3), B<inode>(7), "
1115 "B<path_resolution>(7), B<symlink>(7)"
1116 msgstr ""
1117 "B<chattr>(1), B<touch>(1), B<futimesat>(2), B<openat>(2), B<stat>(2), "
1118 "B<utimes>(2), B<futimes>(3), B<timespec>(3), B<inode>(7), "
1119 "B<path_resolution>(7), B<symlink>(7)"
1120
1121 #. type: TH
1122 #: debian-trixie
1123 #, no-wrap
1124 msgid "2024-05-02"
1125 msgstr "2 mai 2024"
1126
1127 #. type: TH
1128 #: debian-trixie
1129 #, no-wrap
1130 msgid "Linux man-pages 6.9.1"
1131 msgstr "Pages du manuel de Linux 6.9.1"
1132
1133 #. type: Plain text
1134 #: debian-trixie
1135 msgid "Standard C library (I<libc>, I<-lc>)"
1136 msgstr "Bibliothèque C standard (I<libc>, I<-lc>)"
1137
1138 #. type: Plain text
1139 #: debian-trixie fedora-44 fedora-rawhide
1140 #, no-wrap
1141 msgid ""
1142 "B<int utimensat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n"
1143 "B< const struct timespec >I<times>B<[_Nullable 2], int >I<flags>B<);>\n"
1144 "B<int futimens(int >I<fd>B<, const struct timespec >I<times>B<[_Nullable 2]);>\n"
1145 msgstr ""
1146 "B<int utimensat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n"
1147 "B< const struct timespec >I<times>B<[_Nullable 2], int >I<flags>B<);>\n"
1148 "B<int futimens(int >I<fd>B<, const struct timespec >I<times>B<[_Nullable 2]);>\n"
1149
1150 #. type: Plain text
1151 #: debian-trixie fedora-44 fedora-rawhide
1152 msgid ""
1153 "With B<utimensat>() the file is specified via the pathname given in "
1154 "I<pathname>. With B<futimens>() the file whose timestamps are to be "
1155 "updated is specified via an open file descriptor, I<fd>."
1156 msgstr ""
1157 "Avec B<utimensat>(), le fichier est indiqué à l'aide du chemin fourni dans "
1158 "I<pathname>. Avec B<futimens>(), le fichier dont les horodatages doivent "
1159 "être mis à jour est indiqué par un descripteur de fichier ouvert, I<fd>."
1160
1161 #. type: Plain text
1162 #: debian-trixie fedora-44 fedora-rawhide
1163 msgid ""
1164 "If I<pathname> is relative, then by default it is interpreted relative to "
1165 "the directory referred to by the open file descriptor, I<dirfd> (rather than "
1166 "relative to the current working directory of the calling process, as is done "
1167 "by B<utimes>(2) for a relative pathname). See B<openat>(2) for an "
1168 "explanation of why this can be useful."
1169 msgstr ""
1170 "Si le chemin donné dans I<pathname> est relatif, il est par défaut "
1171 "interprété par rapport au répertoire référencé par le descripteur de fichier "
1172 "ouvert I<dirfd> (plutôt que par rapport au répertoire courant du processus, "
1173 "comme pour B<utimes>(2) pour les chemins relatifs). Consultez B<openat>(2) "
1174 "pour avoir les raisons pour lesquelles cela peut être utile."
1175
1176 #. type: Plain text
1177 #: debian-trixie fedora-44 fedora-rawhide
1178 msgid ""
1179 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
1180 "then I<pathname> is interpreted relative to the current working directory of "
1181 "the calling process (like B<utimes>(2))."
1182 msgstr ""
1183 "Si I<pathname> est un chemin relatif, et si I<dirfd> a la valeur spéciale "
1184 "B<AT_FDCWD>, alors I<pathname> est interprété par rapport au répertoire "
1185 "courant du processus appelant, comme dans B<utimes>(2)."
1186
1187 #. type: Plain text
1188 #: debian-trixie fedora-44 fedora-rawhide
1189 msgid "If I<pathname> is absolute, then I<dirfd> is ignored."
1190 msgstr "Si I<pathname> est absolu, alors I<dirfd> est ignoré."
1191
1192 #. type: Plain text
1193 #: debian-trixie fedora-44 fedora-rawhide
1194 msgid ""
1195 "If I<pathname> is an empty string, operate on the file referred to by "
1196 "I<dirfd> (which may have been obtained using the B<open>(2) B<O_PATH> "
1197 "flag). In this case, I<dirfd> can refer to any type of file, not just a "
1198 "directory. If I<dirfd> is B<AT_FDCWD>, the call operates on the current "
1199 "working directory. This flag is Linux-specific; define B<_GNU_SOURCE> to "
1200 "obtain its definition."
1201 msgstr ""
1202 "Si I<pathname> est une chaîne vide, opérer sur le fichier auquel I<dirfd> "
1203 "fait référence (qui peut avoir été obtenu en utilisant le paramètre "
1204 "B<O_PATH> de B<open>(2)). Dans ce cas, I<dirfd> peut faire référence à tout "
1205 "type de fichier, pas seulement à un répertoire. Si I<dirfd> est B<AT_FDCWD>, "
1206 "l'appel opère sur le répertoire de travail en cours. Ce paramètre est "
1207 "spécifique à Linux ; définir B<_GNU_SOURCE> pour obtenir sa définition."
1208
1209 #. type: Plain text
1210 #: debian-trixie fedora-44 fedora-rawhide
1211 msgid ""
1212 "If I<pathname> specifies a symbolic link, then update the timestamps of the "
1213 "link, rather than the file to which it refers."
1214 msgstr ""
1215 "Si I<pathname> indique un lien symbolique, alors mettre à jour l'horodatage "
1216 "du lien, plutôt que du fichier pointé."
1217
1218 #. type: Plain text
1219 #: debian-trixie fedora-44 fedora-rawhide
1220 msgid ""
1221 "(B<utimensat>()) I<pathname> is relative but I<dirfd> is neither "
1222 "B<AT_FDCWD> nor a valid file descriptor."
1223 msgstr ""
1224 "(B<utimensat>()) I<pathname> est relatif, mais I<dirfd> n'est ni "
1225 "B<AT_FDCWD>, ni un descripteur de fichier valable."
1226
1227 #. type: Plain text
1228 #: debian-trixie fedora-44 fedora-rawhide
1229 msgid ""
1230 "I<times> pointed to an invalid address; or, I<dirfd> was B<AT_FDCWD>, and "
1231 "I<pathname> is NULL or an invalid address."
1232 msgstr ""
1233 "I<times> pointe vers une adresse incorrecte ; ou I<dirfd> valait B<AT_FDCWD> "
1234 "et I<pathname> est NULL ou une adresse incorrecte."
1235
1236 #. SUSv4 does not specify this error.
1237 #. type: Plain text
1238 #: debian-trixie fedora-44 fedora-rawhide
1239 msgid ""
1240 "I<pathname> is NULL, I<dirfd> is not B<AT_FDCWD>, and I<flags> contains "
1241 "B<AT_SYMLINK_NOFOLLOW>."
1242 msgstr ""
1243 "I<pathname> est NULL, I<dirfd> ne vaut pas B<AT_FDCWD> et I<flags> contient "
1244 "B<AT_SYMLINK_NOFOLLOW>."
1245
1246 #. type: Plain text
1247 #: debian-trixie fedora-44 fedora-rawhide
1248 msgid ""
1249 "(B<utimensat>()) Too many symbolic links were encountered in resolving "
1250 "I<pathname>."
1251 msgstr ""
1252 "(B<utimensat>()) Trop de liens symboliques ont été rencontrés en parcourant "
1253 "I<pathname>."
1254
1255 #. type: Plain text
1256 #: debian-trixie fedora-44 fedora-rawhide
1257 msgid "(B<utimensat>()) I<pathname> is too long."
1258 msgstr "(B<utimensat>()) I<pathname> est trop long."
1259
1260 #. type: Plain text
1261 #: debian-trixie fedora-44 fedora-rawhide
1262 msgid ""
1263 "(B<utimensat>()) A component of I<pathname> does not refer to an existing "
1264 "directory or file, or I<pathname> is an empty string."
1265 msgstr ""
1266 "(B<utimensat>()) Un élément du chemin d'accès I<pathname> ne correspond pas "
1267 "à un répertoire ou à un fichier existant, ou I<pathname> est une chaîne vide."
1268
1269 #. type: Plain text
1270 #: debian-trixie fedora-44 fedora-rawhide
1271 msgid ""
1272 "(B<utimensat>()) I<pathname> is a relative pathname, but I<dirfd> is "
1273 "neither B<AT_FDCWD> nor a file descriptor referring to a directory; or, one "
1274 "of the prefix components of I<pathname> is not a directory."
1275 msgstr ""
1276 "(B<utimensat>()) I<pathname> est un chemin relatif, mais I<dirfd> n'est ni "
1277 "B<AT_FDCWD>, ni un descripteur de fichier correspondant à un répertoire ; ou "
1278 "l'un des composants au début de I<pathname> n'est pas un répertoire."
1279
1280 #. type: Plain text
1281 #: debian-trixie fedora-44 fedora-rawhide
1282 msgid ""
1283 "(B<utimensat>()) Search permission is denied for one of the prefix "
1284 "components of I<pathname>."
1285 msgstr ""
1286 "(B<utimensat>()) Un élément au début du chemin d'accès I<pathname> ne permet "
1287 "pas le parcours."
1288
1289 #. type: Plain text
1290 #: debian-trixie fedora-44 fedora-rawhide
1291 msgid ""
1292 "On Linux, B<futimens>() is a library function implemented on top of the "
1293 "B<utimensat>() system call. To support this, the Linux B<utimensat>() "
1294 "system call implements a nonstandard feature: if I<pathname> is NULL, then "
1295 "the call modifies the timestamps of the file referred to by the file "
1296 "descriptor I<dirfd> (which may refer to any type of file). Using this "
1297 "feature, the call I<futimens(fd,\\ times)> is implemented as:"
1298 msgstr ""
1299 "Sous Linux, B<futimens>() est une fonction de bibliothèque implémentée à "
1300 "l'aide de l'appel système B<utimensat>(). Pour cela, l'appel système "
1301 "B<utimensat>() de Linux implémente une fonctionnalité non standard : si "
1302 "I<pathname> est NULL, alors l'appel modifie les horodatages du fichier "
1303 "correspondant au descripteur de fichier I<dirfd> (qui peut correspondre à "
1304 "n'importe quel type de fichier). En utilisant cette fonctionnalité, l'appel "
1305 "I<futimens(fd,\\ times)> est implémenté comme ceci :"
1306
1307 #. type: Plain text
1308 #: debian-trixie fedora-44 fedora-rawhide
1309 msgid ""
1310 "Note, however, that the glibc wrapper for B<utimensat>() disallows passing "
1311 "NULL as the value for I<pathname>: the wrapper function returns the error "
1312 "B<EINVAL> in this case."
1313 msgstr ""
1314 "Notez néanmoins que l'enveloppe de la glibc pour B<utimensat>() n'autorise "
1315 "pas le passage de NULL comme valeur de I<pathname> : dans ce cas, la "
1316 "fonction d'enveloppe renvoie l'erreur I<EINVAL>."
1317
1318 #. type: Plain text
1319 #: debian-trixie fedora-44 fedora-rawhide
1320 msgid "POSIX.1-2008."
1321 msgstr "POSIX.1-2008."
1322
1323 #. type: Plain text
1324 #: debian-trixie fedora-44 fedora-rawhide
1325 msgid ""
1326 "If both I<tv_nsec> fields are specified as B<UTIME_OMIT>, then the Linux "
1327 "implementation of B<utimensat>() succeeds even if the file referred to by "
1328 "I<dirfd> and I<pathname> does not exist."
1329 msgstr ""
1330 "Si les deux champs I<tv_nsec> valent B<UTIME_OMIT>, alors l'implémenation de "
1331 "B<utimensat>() dans Linux réussit même si le fichier référencé par I<dirfd> "
1332 "et I<pathname> n'existe pas."
1333
1334 #. type: TH
1335 #: fedora-44 fedora-rawhide
1336 #, no-wrap
1337 msgid "2024-07-23"
1338 msgstr "23 juillet 2024"
1339
1340 #. type: TH
1341 #: fedora-44 fedora-rawhide
1342 #, no-wrap
1343 msgid "Linux man-pages 6.13"
1344 msgstr "Pages du manuel de Linux 6.13"
1345
1346 #. type: TH
1347 #: mageia-cauldron
1348 #, no-wrap
1349 msgid "Linux man-pages 6.17"
1350 msgstr "Pages du manuel de Linux 6.17"
1351
1352 #. type: TH
1353 #: opensuse-leap-16-1 opensuse-tumbleweed
1354 #, no-wrap
1355 msgid "Linux man-pages (unreleased)"
1356 msgstr "Pages du manuel de Linux (non publiées)"