eio_chmod

Change file/directory permissions

&reftitle.description; `resource` `eio_chmod` `string` `path` `int` `mode` `int` `pri` EIO_PRI_DEFAULT `callable` `callback` NULL `mixed` `data` NULL

`eio_chmod` changes file, or directory permissions. The new permissions are specified by `mode`.

&reftitle.parameters;

`path`

- Path to the target file or directory &eio.warn.relpath;

`mode`

- The new permissions. E.g. `0644`.

`pri`

- &eio.request.pri.values;

`callback`

- &eio.callback.proto;

`data`

- Arbitrary variable passed to `callback`.

&reftitle.returnvalues;

`eio_chmod` returns request resource on success,&return.falseforfailure;.

&reftitle.seealso;

- `eio_chown`