public function chmod($path, $value)
    {
        $node = $this->at($path);
        if (null === $node || !is_numeric($value)) {
            return false;
        }
        $node->perms = $value;
        return true;
    }
public function chmod($path, $value)
    {
        $node = $this->at($path);
        if (null === $node || !is_numeric($value)) {
            return false;
        }
        $node->perms = $value;
        return true;
    }
public function chmod ( $ path , $ value ) { $ node = $ this -> at ( $ path ) ; if ( null === $ node || ! is_numeric ( $ value ) ) { return false ; } $ node -> perms = $ value ; return true ; }
Equivalent to PHP `chmod` function.

@param  string  $path
@return boolean
Equivalent to PHP chmod function .