Spec-Zone.ru › Nushell

umask for platform

Get or set default file creation permissions.

Signature

> umask {flags} (permissions)

Parameters

  • permissions: The permissions to set on created files.

Input/output types:

input output
nothing string

Examples

Print current default file creation permissions.

> umask

Make new files read-only to group and inaccessible to others.

> umask rwxr-x---

Notes

When setting a new mask, the previous mask will be returned.

Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/umask.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API