sys.sys.lchown_r
Declaration
lua
sys.lchown_r(path, uid, gid)
Description
Recursively change ownership of path and all children using
lchown() (does not follow symlinks).Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
path | string | Required | — | Root path |
uid | integer | Required | — | User ID |
gid | integer | Required | — | Group ID |
Return Values
No return value
Example
lua
sys.lchown_r("/var/mobile/Library/VNTouch", 501, 501)