# checkUserOnly

<!-- https://uncage.vercel.app/docs/api/agent/functions/checkuseronly/ -->

```ts
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).

## Parameters

| Parameter | Type |
| ------ | ------ |
| `path` | `string` |
| `o?` | [`PermsOptions`](https://uncage.vercel.app/docs/api/agent/interfaces/permsoptions.md) |

## Returns

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