grantPermissions function

void grantPermissions(
  1. String folderPath
)

Implementation

void grantPermissions(String folderPath) {
  Process.runSync('chmod', ['-R', 'u+rX', folderPath]);
}