@thingts/fs-path - v1.2.2
    Preparing search index...

    Type Alias FsPermissionSpec

    FsPermissionSpec:
        | { mode: number }
        | {
            group?: FsPermissionFlags;
            others?: FsPermissionFlags;
            user?: FsPermissionFlags;
        }
        | { all: FsPermissionFlags }

    Specification for setting file access permissions.

    Can be one of:

    • Numeric mode (e.g. 0o755)
    • An object specifying separate permissions for user, group and others. (Note that omitting a category means setting its permissions to 0.)
    • An object specifying the same permissions for all (user, group and others)

    Type Declaration