doc/documentation/manual-pages/ru/man1/mkdir.1
Sergio Carlavilla Delgado 989d921f5d Migrate doc to Hugo/AsciiDoctor
I'm very pleased to announce the release of
our new website and documentation using
the new toolchain with Hugo and AsciiDoctor.

To get more information about the new toolchain
please read the FreeBSD Documentation Project Primer[1],
Hugo docs[2] and AsciiDoctor docs[3].

Acknowledgment:
Benedict Reuschling <bcr@>
Glen Barber <gjb@>
Hiroki Sato <hrs@>
Li-Wen Hsu <lwhsu@>
Sean Chittenden <seanc@>
The FreeBSD Foundation

[1] https://docs.FreeBSD.org/en/books/fdp-primer/
[2] https://gohugo.io/documentation/
[3] https://docs.asciidoctor.org/home/

Approved by:    doceng, core
2021-01-26 00:31:29 +01:00

107 lines
3.6 KiB
Groff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.\"-
.\" Copyright (c) 1989, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
.\" This code is derived from software contributed to Berkeley by
.\" the Institute of Electrical and Electronics Engineers, Inc.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 4. Neither the name of the University nor the names of its contributors
.\" may be used to endorse or promote products derived from this software
.\" without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" @(#)mkdir.1 8.2 (Berkeley) 1/25/94
.\" %FreeBSD: src/bin/mkdir/mkdir.1,v 1.23 2006/12/27 11:28:00 ru Exp %
.\" $FreeBSDru: frdp/doc/ru_RU.KOI8-R/man/man1/mkdir.1,v 1.2 2007/11/13 11:08:03 ru Exp $
.\" $FreeBSD$
.\"
.Dd 25 ÑÎ×ÁÒÑ 1994
.Dt MKDIR 1
.Os
.Sh îáú÷áîéå
.Nm mkdir
.Nd ÓÏÚÄÁÔØ ËÁÔÁÌÏÇÉ
.Sh óéîôáëóéó
.Nm
.Op Fl pv
.Op Fl m Ar ÒÅÖÉÍ
.Ar ÉÍÑ_ËÁÔÁÌÏÇÁ ...
.Sh ïðéóáîéå
õÔÉÌÉÔÁ
.Nm
ÓÏÚÄÁ£Ô ËÁÔÁÌÏÇÉ, ÚÁÄÁÎÎÙÅ ÓÐÉÓËÏÍ ÏÐÅÒÁÎÄÏ×, × ÕËÁÚÁÎÎÏÍ
ÐÏÒÑÄËÅ, ÉÓÐÏÌØÚÕÑ ÒÅÖÉÍ ÐÒÁ× ÄÏÓÔÕÐÁ
.Dq Li rwxrwxrwx
(0777),
ÍÏÄÉÆÉÃÉÒÏ×ÁÎÎÙÊ ÔÅËÕÝÉÍ ÚÎÁÞÅÎÉÅÍ ÍÁÓËÉ ÐÒÁ× ÄÏÓÔÕÐÁ
.Xr umask 2 .
.Pp
éÍÅÀÔÓÑ ÓÌÅÄÕÀÝÉÅ ÏÐÃÉÉ:
.Bl -tag -width ".Fl m Ar ÒÅÖÉÍ"
.It Fl m Ar ÒÅÖÉÍ
õÓÔÁÎÏ×ÉÔØ ÐÒÁ×Á ÄÏÓÔÕÐÁ ËÏÎÅÞÎÏÇÏ ÓÏÚÄÁ×ÁÅÍÏÇÏ ËÁÔÁÌÏÇÁ ×
ÓÏÏÔ×ÅÔÓÔ×ÉÉ Ó ÕËÁÚÁÎÎÙÍ ÒÅÖÉÍÏÍ.
áÒÇÕÍÅÎÔ
.Ar ÒÅÖÉÍ
ÍÏÖÅÔ ÂÙÔØ ÚÁÄÁÎ × ÌÀÂÏÍ ÉÚ ÆÏÒÍÁÔÏ×, ÏÐÒÅÄÅÌ£ÎÎÙÈ ÄÌÑ ËÏÍÁÎÄÙ
.Xr chmod 1 .
åÓÌÉ ÉÓÐÏÌØÚÕÅÔÓÑ ÓÉÍ×ÏÌØÎÙÊ ÒÅÖÉÍ, ÔÏ ÓÉÍ×ÏÌÙ
.Ql +
É
.Ql -
ÉÎÔÅÒÐÒÅÔÉÒÕÀÔÓÑ ÏÔÎÏÓÉÔÅÌØÎÏ ÎÁÞÁÌØÎÏÇÏ ÒÅÖÉÍÁ
.Dq Li a=rwx .
.It Fl p
óÏÚÄÁ×ÁÔØ ÐÒÏÍÅÖÕÔÏÞÎÙÅ ËÁÔÁÌÏÇÉ ÐÏ ÍÅÒÅ ÎÅÏÂÈÏÄÉÍÏÓÔÉ.
åÓÌÉ ÜÔÁ ÏÐÃÉÑ ÎÅ ÕËÁÚÁÎÁ, ÔÏ ÐÒÅÆÉËÓ ÐÏÌÎÏÇÏ ÐÕÔÉ ËÁÖÄÏÇÏ ÉÚ ÏÐÅÒÁÎÄÏ×
ÄÏÌÖÅÎ ÕÖÅ ÓÕÝÅÓÔ×Ï×ÁÔØ.
ó ÄÒÕÇÏÊ ÓÔÏÒÏÎÙ, ÅÓÌÉ ÜÔÁ ÏÐÃÉÑ ÕËÁÚÁÎÁ, ÔÏ ÓÕÝÅÓÔ×Ï×ÁÎÉÅ ËÁÔÁÌÏÇÁ,
ÚÁÄÁÎÎÏÇÏ ÏÐÅÒÁÎÄÏÍ, ÎÅ Ñ×ÌÑÅÔÓÑ ÏÛÉÂËÏÊ.
ðÒÏÍÅÖÕÔÏÞÎÙÅ ËÁÔÁÌÏÇÉ ÓÏÚÄÁÀÔÓÑ Ó ÂÉÔÁÍÉ ÐÒÁ× ÄÏÓÔÕÐÁ
.Dq Li rwxrwxrwx
(0777),
ÍÏÄÉÆÉÃÉÒÏ×ÁÎÎÙÍÉ ÍÁÓËÏÊ ÐÒÁ× ÄÏÓÔÕÐÁ umask, Ó ÄÏÂÁ×ÌÅÎÉÅÍ ÐÒÁ×
ÎÁ ÚÁÐÉÓØ É ÐÏÉÓË ÄÌÑ ×ÌÁÄÅÌØÃÁ.
.It Fl v
÷Ù×ÏÄÉÔØ ÐÏÄÒÏÂÎÕÀ ÉÎÆÏÒÍÁÃÉÀ ÐÒÉ ÓÏÚÄÁÎÉÉ ËÁÔÁÌÏÇÏ×,
ÐÏËÁÚÙ×ÁÑ ÉÈ ÐÏ ÍÅÒÅ ÓÏÚÄÁÎÉÑ.
.El
.Pp
ðÏÌØÚÏ×ÁÔÅÌØ ÄÏÌÖÅÎ ÉÍÅÔØ ÐÒÁ×Ï ÎÁ ÚÁÐÉÓØ × ÒÏÄÉÔÅÌØÓËÉÊ ËÁÔÁÌÏÇ.
.Sh óôáôõó úá÷åòûåîéñ
.Ex -std
.Sh óï÷íåóôéíïóôø
ïÐÃÉÑ
.Fl v
Ñ×ÌÑÅÔÓÑ ÎÅÓÔÁÎÄÁÒÔÎÏÊ É Å£ ÉÓÐÏÌØÚÏ×ÁÎÉÅ × ÓÃÅÎÁÒÉÑÈ ÎÅ ÒÅËÏÍÅÎÄÕÅÔÓÑ.
.Sh óíïôòé ôáëöå
.Xr rmdir 1
.Sh óôáîäáòôù
ðÒÅÄÐÏÌÁÇÁÅÔÓÑ, ÞÔÏ ÕÔÉÌÉÔÁ
.Nm
ÓÏ×ÍÅÓÔÉÍÁ ÓÏ ÓÔÁÎÄÁÒÔÏÍ
.St -p1003.2 .
.Sh éóôïòéñ
ëÏÍÁÎÄÁ
.Nm
ÐÏÑ×ÉÌÁÓØ ×
.At v1 .