{
    "content": [
        {
            "type": "text",
            "text": "# umask (perldoc)\n\n## TLDR\n\n> Manage the read/write/execute permissions that are masked out (i.e. restricted) for newly created files by the user.\n\n- Display the current mask in octal notation:\n  `umask`\n- Display the current mask in symbolic (human-readable) mode:\n  `umask -S`\n- Change the mask symbolically to allow read permission for all users (the rest of the mask bits are unchanged):\n  `umask {{a+r}}`\n- Set the mask (using octal) to restrict no permissions for the file's owner, and restrict all permissions for everyone else:\n  `umask {{077}}`\n\n*Source: tldr-pages*\n\n---\n\n## Full Content\n\n"
        }
    ],
    "structuredContent": {
        "command": "umask",
        "section": "-f",
        "mode": "perldoc",
        "summary": null,
        "synopsis": null,
        "tldr_summary": "Manage the read/write/execute permissions that are masked out (i.e. restricted) for newly created files by the user.",
        "tldr_examples": [
            {
                "description": "Display the current mask in octal notation",
                "command": "umask"
            },
            {
                "description": "Display the current mask in symbolic (human-readable) mode",
                "command": "umask -S"
            },
            {
                "description": "Change the mask symbolically to allow read permission for all users (the rest of the mask bits are unchanged)",
                "command": "umask {{a+r}}"
            },
            {
                "description": "Set the mask (using octal) to restrict no permissions for the file's owner, and restrict all permissions for everyone else",
                "command": "umask {{077}}"
            }
        ],
        "tldr_source": "official",
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [],
        "sections": []
    }
}