SetPermission Method
Assigns the given permission to a resource.
Object Oriented Interface
public function doSetPermission($path, $permission);
Procedural Interface
ipworkscloud_hadoopdfs_do_setpermission($res, $path, $permission);
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).