chmod function

void chmod(
  1. int permission,
  2. String path
)

Wrapper for the linux chmod command.

permission is the standard bit map used by chmod e.g. 777 path is the path to the file that we are changing the permissions of.

Implementation

void chmod(int permission, String path) => _ChMod()._chmod(permission, path);