Skip to content

checkUserOnly

View as Markdown
function checkUserOnly(path, o?): Promise<{
detail: string;
fix: string;
ok: boolean;
}>;

Defined in: agent/src/perms.ts:68

Whether only the user can read path. POSIX: no group/other bits. Windows: icacls lists only the user, SYSTEM and Administrators (no inherited entries for Users / Everyone).

Parameter Type
path string
o? PermsOptions

Promise<{ detail: string; fix: string; ok: boolean; }>