Debian Codegraph @

templates/man2/mkdir.2.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:31+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "mkdir"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-11"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "mkdir, mkdirat - create a directory"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. .B #include <unistd.h>
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "B<#include E<lt>sys/stat.hE<gt>>\n"
78 msgstr ""
79
80 #. type: Plain text
81 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
82 #: opensuse-tumbleweed
83 #, no-wrap
84 msgid "B<int mkdir(const char *>I<path>B<, mode_t >I<mode>B<);>\n"
85 msgstr ""
86
87 #. type: Plain text
88 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
89 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
90 #, no-wrap
91 msgid ""
92 "B<#include E<lt>fcntl.hE<gt> >/* Definition of AT_* constants */\n"
93 "B<#include E<lt>sys/stat.hE<gt>>\n"
94 msgstr ""
95
96 #. type: Plain text
97 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
98 #: opensuse-tumbleweed
99 #, no-wrap
100 msgid "B<int mkdirat(int >I<dirfd>B<, const char *>I<path>B<, mode_t >I<mode>B<);>\n"
101 msgstr ""
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 ""
107 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
108 msgstr ""
109
110 #. type: Plain text
111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
113 msgid "B<mkdirat>():"
114 msgstr ""
115
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
119 #, no-wrap
120 msgid ""
121 " Since glibc 2.10:\n"
122 " _POSIX_C_SOURCE E<gt>= 200809L\n"
123 " Before glibc 2.10:\n"
124 " _ATFILE_SOURCE\n"
125 msgstr ""
126
127 #. type: SH
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 #, no-wrap
131 msgid "DESCRIPTION"
132 msgstr ""
133
134 #. type: Plain text
135 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
136 #: opensuse-tumbleweed
137 msgid "B<mkdir>() attempts to create a directory named I<path>."
138 msgstr ""
139
140 #. type: Plain text
141 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
142 #: opensuse-leap-16-1 opensuse-tumbleweed
143 msgid ""
144 "The argument I<mode> specifies the mode for the new directory (see "
145 "B<inode>(7)). It is modified by the process's I<umask> in the usual way: in "
146 "the absence of a default ACL, the mode of the created directory is (I<mode> "
147 "& \\[ti]I<umask> & 0777). Whether other I<mode> bits are honored for the "
148 "created directory depends on the operating system. For Linux, see VERSIONS "
149 "below."
150 msgstr ""
151
152 #. type: Plain text
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 msgid ""
156 "The newly created directory will be owned by the effective user ID of the "
157 "process. If the directory containing the file has the set-group-ID bit set, "
158 "or if the filesystem is mounted with BSD group semantics (I<mount -o "
159 "bsdgroups> or, synonymously I<mount -o grpid>), the new directory will "
160 "inherit the group ownership from its parent; otherwise it will be owned by "
161 "the effective group ID of the process."
162 msgstr ""
163
164 #. type: Plain text
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 msgid ""
168 "If the parent directory has the set-group-ID bit set, then so will the newly "
169 "created directory."
170 msgstr ""
171
172 #. type: SS
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 #, no-wrap
176 msgid "mkdirat()"
177 msgstr ""
178
179 #. type: Plain text
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 msgid ""
183 "The B<mkdirat>() system call operates in exactly the same way as "
184 "B<mkdir>(), except for the differences described here."
185 msgstr ""
186
187 #. type: Plain text
188 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
189 #: opensuse-tumbleweed
190 msgid ""
191 "If I<path> is relative, then it is interpreted relative to the directory "
192 "referred to by the file descriptor I<dirfd> (rather than relative to the "
193 "current working directory of the calling process, as is done by B<mkdir>() "
194 "for a relative pathname)."
195 msgstr ""
196
197 #. type: Plain text
198 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
199 #: opensuse-tumbleweed
200 msgid ""
201 "If I<path> is relative and I<dirfd> is the special value B<AT_FDCWD>, then "
202 "I<path> is interpreted relative to the current working directory of the "
203 "calling process (like B<mkdir>())."
204 msgstr ""
205
206 #. type: Plain text
207 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
208 #: opensuse-tumbleweed
209 msgid "If I<path> is absolute, then I<dirfd> is ignored."
210 msgstr ""
211
212 #. type: Plain text
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 msgid "See B<openat>(2) for an explanation of the need for B<mkdirat>()."
216 msgstr ""
217
218 #. type: SH
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 #, no-wrap
222 msgid "RETURN VALUE"
223 msgstr ""
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 ""
229 "B<mkdir>() and B<mkdirat>() return zero on success. On error, -1 is "
230 "returned and I<errno> is set to indicate the error."
231 msgstr ""
232
233 #. type: SH
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 #, no-wrap
237 msgid "ERRORS"
238 msgstr ""
239
240 #. type: TP
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 #, no-wrap
244 msgid "B<EACCES>"
245 msgstr ""
246
247 #. type: Plain text
248 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
249 #: opensuse-tumbleweed
250 msgid ""
251 "The parent directory does not allow write permission to the process, or one "
252 "of the directories in I<path> did not allow search permission. (See also "
253 "B<path_resolution>(7).)"
254 msgstr ""
255
256 #. type: TP
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 #, no-wrap
260 msgid "B<EBADF>"
261 msgstr ""
262
263 #. type: Plain text
264 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
265 #: opensuse-tumbleweed
266 msgid ""
267 "(B<mkdirat>()) I<path> is relative but I<dirfd> is neither B<AT_FDCWD> nor "
268 "a valid file descriptor."
269 msgstr ""
270
271 #. type: TP
272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
274 #, no-wrap
275 msgid "B<EDQUOT>"
276 msgstr ""
277
278 #. type: Plain text
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 msgid ""
282 "The user's quota of disk blocks or inodes on the filesystem has been "
283 "exhausted."
284 msgstr ""
285
286 #. type: TP
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 #, no-wrap
290 msgid "B<EEXIST>"
291 msgstr ""
292
293 #. type: Plain text
294 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
295 #: opensuse-tumbleweed
296 msgid ""
297 "I<path> already exists (not necessarily as a directory). This includes the "
298 "case where I<path> is a symbolic link, dangling or not."
299 msgstr ""
300
301 #. type: TP
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 #, no-wrap
305 msgid "B<EFAULT>"
306 msgstr ""
307
308 #. type: Plain text
309 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
310 #: opensuse-tumbleweed
311 msgid "I<path> points outside your accessible address space."
312 msgstr ""
313
314 #. type: TP
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 #, no-wrap
318 msgid "B<EINVAL>"
319 msgstr ""
320
321 #. type: Plain text
322 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
323 #: opensuse-tumbleweed
324 msgid ""
325 "The final component (\"basename\") of the new directory's I<path> is invalid "
326 "(e.g., it contains characters not permitted by the underlying filesystem)."
327 msgstr ""
328
329 #. type: TP
330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
332 #, no-wrap
333 msgid "B<ELOOP>"
334 msgstr ""
335
336 #. type: Plain text
337 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
338 #: opensuse-tumbleweed
339 msgid "Too many symbolic links were encountered in resolving I<path>."
340 msgstr ""
341
342 #. type: TP
343 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
344 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
345 #, no-wrap
346 msgid "B<EMLINK>"
347 msgstr ""
348
349 #. type: Plain text
350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
352 msgid "The number of links to the parent directory would exceed B<LINK_MAX>."
353 msgstr ""
354
355 #. type: TP
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 #, no-wrap
359 msgid "B<ENAMETOOLONG>"
360 msgstr ""
361
362 #. type: Plain text
363 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
364 #: opensuse-tumbleweed
365 msgid "I<path> was too long."
366 msgstr ""
367
368 #. type: TP
369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
370 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
371 #, no-wrap
372 msgid "B<ENOENT>"
373 msgstr ""
374
375 #. type: Plain text
376 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
377 #: opensuse-tumbleweed
378 msgid ""
379 "A directory component in I<path> does not exist or is a dangling symbolic "
380 "link."
381 msgstr ""
382
383 #. type: TP
384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
386 #, no-wrap
387 msgid "B<ENOMEM>"
388 msgstr ""
389
390 #. type: Plain text
391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
393 msgid "Insufficient kernel memory was available."
394 msgstr ""
395
396 #. type: TP
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 #, no-wrap
400 msgid "B<ENOSPC>"
401 msgstr ""
402
403 #. type: Plain text
404 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
405 #: opensuse-tumbleweed
406 msgid "The device containing I<path> has no room for the new directory."
407 msgstr ""
408
409 #. type: Plain text
410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
411 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
412 msgid ""
413 "The new directory cannot be created because the user's disk quota is "
414 "exhausted."
415 msgstr ""
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<ENOTDIR>"
422 msgstr ""
423
424 #. type: Plain text
425 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
426 #: opensuse-tumbleweed
427 msgid ""
428 "A component used as a directory in I<path> is not, in fact, a directory."
429 msgstr ""
430
431 #. type: Plain text
432 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
433 #: opensuse-tumbleweed
434 msgid ""
435 "(B<mkdirat>()) I<path> is relative and I<dirfd> is a file descriptor "
436 "referring to a file other than a directory."
437 msgstr ""
438
439 #. type: TP
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 #, no-wrap
443 msgid "B<EPERM>"
444 msgstr ""
445
446 #. type: Plain text
447 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
448 #: opensuse-tumbleweed
449 msgid ""
450 "The filesystem containing I<path> does not support the creation of "
451 "directories."
452 msgstr ""
453
454 #. type: TP
455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
457 #, no-wrap
458 msgid "B<EROFS>"
459 msgstr ""
460
461 #. type: Plain text
462 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
463 #: opensuse-tumbleweed
464 msgid "I<path> refers to a file on a read-only filesystem."
465 msgstr ""
466
467 #. type: TP
468 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
469 #: opensuse-leap-16-1 opensuse-tumbleweed
470 #, no-wrap
471 msgid "B<EOVERFLOW>"
472 msgstr ""
473
474 #. type: Plain text
475 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
476 #: opensuse-leap-16-1 opensuse-tumbleweed
477 msgid ""
478 "UID or GID mappings (see B<user_namespaces>(7)) have not been configured."
479 msgstr ""
480
481 #. type: SH
482 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
483 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
484 #, no-wrap
485 msgid "VERSIONS"
486 msgstr ""
487
488 #. type: Plain text
489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
491 msgid ""
492 "Under Linux, apart from the permission bits, the B<S_ISVTX> I<mode> bit is "
493 "also honored."
494 msgstr ""
495
496 #. type: SS
497 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
498 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
499 #, no-wrap
500 msgid "glibc notes"
501 msgstr ""
502
503 #. type: Plain text
504 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
505 #: opensuse-tumbleweed
506 msgid ""
507 "On older kernels where B<mkdirat>() is unavailable, the glibc wrapper "
508 "function falls back to the use of B<mkdir>(). When I<path> is relative, "
509 "glibc constructs a pathname based on the symbolic link in I</proc/self/fd> "
510 "that corresponds to the I<dirfd> argument."
511 msgstr ""
512
513 #. type: SH
514 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
515 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
516 #, no-wrap
517 msgid "STANDARDS"
518 msgstr ""
519
520 #. type: Plain text
521 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
522 #: opensuse-tumbleweed
523 msgid "POSIX.1-2024."
524 msgstr ""
525
526 #. type: SH
527 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
528 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
529 #, no-wrap
530 msgid "HISTORY"
531 msgstr ""
532
533 #. type: TP
534 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
535 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
536 #, no-wrap
537 msgid "B<mkdir>()"
538 msgstr ""
539
540 #. SVr4 documents additional EIO, EMULTIHOP
541 #. type: Plain text
542 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
543 #: opensuse-tumbleweed
544 msgid "4.2BSD, SVr4, POSIX.1-1988."
545 msgstr ""
546
547 #. type: TP
548 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
549 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
550 #, no-wrap
551 msgid "B<mkdirat>()"
552 msgstr ""
553
554 #. type: Plain text
555 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
556 #: opensuse-tumbleweed
557 msgid "glibc 2.4, Linux 2.6.16, POSIX.1-2008."
558 msgstr ""
559
560 #. type: SH
561 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
562 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
563 #, no-wrap
564 msgid "NOTES"
565 msgstr ""
566
567 #. type: Plain text
568 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
569 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
570 msgid ""
571 "There are many infelicities in the protocol underlying NFS. Some of these "
572 "affect B<mkdir>()."
573 msgstr ""
574
575 #. type: SH
576 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
577 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
578 #, no-wrap
579 msgid "SEE ALSO"
580 msgstr ""
581
582 #. type: Plain text
583 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
584 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
585 msgid ""
586 "B<mkdir>(1), B<chmod>(2), B<chown>(2), B<mknod>(2), B<mount>(2), "
587 "B<rmdir>(2), B<stat>(2), B<umask>(2), B<unlink>(2), B<acl>(5), "
588 "B<path_resolution>(7)"
589 msgstr ""
590
591 #. type: TH
592 #: debian-trixie
593 #, no-wrap
594 msgid "2024-05-02"
595 msgstr ""
596
597 #. type: TH
598 #: debian-trixie
599 #, no-wrap
600 msgid "Linux man-pages 6.9.1"
601 msgstr ""
602
603 #. type: Plain text
604 #: debian-trixie
605 msgid "Standard C library (I<libc>, I<-lc>)"
606 msgstr ""
607
608 #. type: Plain text
609 #: debian-trixie fedora-44 fedora-rawhide
610 #, no-wrap
611 msgid "B<int mkdir(const char *>I<pathname>B<, mode_t >I<mode>B<);>\n"
612 msgstr ""
613
614 #. type: Plain text
615 #: debian-trixie fedora-44 fedora-rawhide
616 #, no-wrap
617 msgid "B<int mkdirat(int >I<dirfd>B<, const char *>I<pathname>B<, mode_t >I<mode>B<);>\n"
618 msgstr ""
619
620 #. type: Plain text
621 #: debian-trixie fedora-44 fedora-rawhide
622 msgid "B<mkdir>() attempts to create a directory named I<pathname>."
623 msgstr ""
624
625 #. type: Plain text
626 #: debian-trixie
627 msgid ""
628 "The argument I<mode> specifies the mode for the new directory (see "
629 "B<inode>(7)). It is modified by the process's I<umask> in the usual way: in "
630 "the absence of a default ACL, the mode of the created directory is (I<mode> "
631 "& \\[ti]I<umask> & 0777). Whether other I<mode> bits are honored for the "
632 "created directory depends on the operating system. For Linux, see NOTES "
633 "below."
634 msgstr ""
635
636 #. type: Plain text
637 #: debian-trixie fedora-44 fedora-rawhide
638 msgid ""
639 "If the pathname given in I<pathname> is relative, then it is interpreted "
640 "relative to the directory referred to by the file descriptor I<dirfd> "
641 "(rather than relative to the current working directory of the calling "
642 "process, as is done by B<mkdir>() for a relative pathname)."
643 msgstr ""
644
645 #. type: Plain text
646 #: debian-trixie fedora-44 fedora-rawhide
647 msgid ""
648 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
649 "then I<pathname> is interpreted relative to the current working directory of "
650 "the calling process (like B<mkdir>())."
651 msgstr ""
652
653 #. type: Plain text
654 #: debian-trixie fedora-44 fedora-rawhide
655 msgid "If I<pathname> is absolute, then I<dirfd> is ignored."
656 msgstr ""
657
658 #. type: Plain text
659 #: debian-trixie fedora-44 fedora-rawhide
660 msgid ""
661 "The parent directory does not allow write permission to the process, or one "
662 "of the directories in I<pathname> did not allow search permission. (See "
663 "also B<path_resolution>(7).)"
664 msgstr ""
665
666 #. type: Plain text
667 #: debian-trixie fedora-44 fedora-rawhide
668 msgid ""
669 "(B<mkdirat>()) I<pathname> is relative but I<dirfd> is neither B<AT_FDCWD> "
670 "nor a valid file descriptor."
671 msgstr ""
672
673 #. type: Plain text
674 #: debian-trixie fedora-44 fedora-rawhide
675 msgid ""
676 "I<pathname> already exists (not necessarily as a directory). This includes "
677 "the case where I<pathname> is a symbolic link, dangling or not."
678 msgstr ""
679
680 #. type: Plain text
681 #: debian-trixie fedora-44 fedora-rawhide
682 msgid "I<pathname> points outside your accessible address space."
683 msgstr ""
684
685 #. type: Plain text
686 #: debian-trixie fedora-44 fedora-rawhide
687 msgid ""
688 "The final component (\"basename\") of the new directory's I<pathname> is "
689 "invalid (e.g., it contains characters not permitted by the underlying "
690 "filesystem)."
691 msgstr ""
692
693 #. type: Plain text
694 #: debian-trixie fedora-44 fedora-rawhide
695 msgid "Too many symbolic links were encountered in resolving I<pathname>."
696 msgstr ""
697
698 #. type: Plain text
699 #: debian-trixie fedora-44 fedora-rawhide
700 msgid "I<pathname> was too long."
701 msgstr ""
702
703 #. type: Plain text
704 #: debian-trixie fedora-44 fedora-rawhide
705 msgid ""
706 "A directory component in I<pathname> does not exist or is a dangling "
707 "symbolic link."
708 msgstr ""
709
710 #. type: Plain text
711 #: debian-trixie fedora-44 fedora-rawhide
712 msgid "The device containing I<pathname> has no room for the new directory."
713 msgstr ""
714
715 #. type: Plain text
716 #: debian-trixie fedora-44 fedora-rawhide
717 msgid ""
718 "A component used as a directory in I<pathname> is not, in fact, a directory."
719 msgstr ""
720
721 #. type: Plain text
722 #: debian-trixie fedora-44 fedora-rawhide
723 msgid ""
724 "(B<mkdirat>()) I<pathname> is relative and I<dirfd> is a file descriptor "
725 "referring to a file other than a directory."
726 msgstr ""
727
728 #. type: Plain text
729 #: debian-trixie fedora-44 fedora-rawhide
730 msgid ""
731 "The filesystem containing I<pathname> does not support the creation of "
732 "directories."
733 msgstr ""
734
735 #. type: Plain text
736 #: debian-trixie fedora-44 fedora-rawhide
737 msgid "I<pathname> refers to a file on a read-only filesystem."
738 msgstr ""
739
740 #. type: Plain text
741 #: debian-trixie fedora-44 fedora-rawhide
742 msgid ""
743 "On older kernels where B<mkdirat>() is unavailable, the glibc wrapper "
744 "function falls back to the use of B<mkdir>(). When I<pathname> is a "
745 "relative pathname, glibc constructs a pathname based on the symbolic link in "
746 "I</proc/self/fd> that corresponds to the I<dirfd> argument."
747 msgstr ""
748
749 #. type: Plain text
750 #: debian-trixie fedora-44 fedora-rawhide
751 msgid "POSIX.1-2008."
752 msgstr ""
753
754 #. SVr4 documents additional EIO, EMULTIHOP
755 #. type: Plain text
756 #: debian-trixie fedora-44 fedora-rawhide
757 msgid "SVr4, BSD, POSIX.1-2001."
758 msgstr ""
759
760 #. type: Plain text
761 #: debian-trixie fedora-44 fedora-rawhide
762 msgid "Linux 2.6.16, glibc 2.4."
763 msgstr ""
764
765 #. type: TH
766 #: fedora-44 fedora-rawhide
767 #, no-wrap
768 msgid "2025-03-03"
769 msgstr ""
770
771 #. type: TH
772 #: fedora-44 fedora-rawhide
773 #, no-wrap
774 msgid "Linux man-pages 6.13"
775 msgstr ""
776
777 #. type: TH
778 #: mageia-cauldron
779 #, no-wrap
780 msgid "Linux man-pages 6.17"
781 msgstr ""
782
783 #. type: TH
784 #: opensuse-leap-16-1 opensuse-tumbleweed
785 #, no-wrap
786 msgid "Linux man-pages (unreleased)"
787 msgstr ""