sys.sys.lchmod_r
Declaration
lua
sys.lchmod_r(path, mode)
Description
Recursively change permissions of path and all children using
chmod().Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
path | string | Required | — | Root path |
mode | integer | Required | — | Permission mode (e.g. 0755) |
Return Values
No return value
Example
lua
sys.lchmod_r("/var/mobile/Library/VNTouch", 755)