SetPermission Method
Assigns the given permission to a resource.
procedure SetPermission(Path: String; Permission: String);
Remarks
This method assigns the given Permission to the resource at Path.
Permission must be formatted as an octal permission string. If Permission is empty string, the resource's permission will be reset to the server default (755).