MKDIR(1)                                                 MKDIR(1)

     NAME
          mkdir - make a directory

     SYNOPSIS
          mkdir [ dirname ... ]

     DESCRIPTION
          Mkdir creates the specified directories. It requires write
          permission in the parent directory.

          The new directories are created with permissions starting
          with 8r777 but masked with the permissions of the parent
          directory according to the procedure followed by sys-
          open(2). For example, if the parent directory lacks write
          permission for group and has no permissions for others, so
          will the newly created directory.

     SOURCE
          /appl/cmd/mkdir.b

     SEE ALSO
          chmod(1), cd(1), rm(1), sys-open(2)

     DIAGNOSTICS
          A warning message is printed when a directory cannot be cre-
          ated, but mkdir proceeds with the remaining names in the
          argument list.

     Page 1                       Plan 9            (printed 11/18/24)