sys

sys.sys.lchmod_r

Declaration
lua
sys.lchmod_r(path, mode)
Description
Recursively change permissions of path and all children using chmod().
Parameters
NameTypeRequiredDefaultDescription
pathstringRequired—Root path
modeintegerRequired—Permission mode (e.g. 0755)
Return Values
No return value
Example
lua
sys.lchmod_r("/var/mobile/Library/VNTouch", 755)