Cotal TypeScript packages
    Preparing search index...

    Function repairInstallModes

    • Remove group and other write from every folder and file under root this account owns, without following a link, and return how many changed; a missing root changes nothing. An installer from before its 022 umask, or a seed run before its npm children got one, left Cotal's install or its config folder group-writable under a umask of 0002, and a folder another account can write makes the protected-path rule refuse what is under it, such as the runtime Node selected as a handler or a seeded extension.

      Parameters

      • root: string

      Returns number