public static function chgrpPath($path, $group = null, $recursive = true)
    {
        $path = realpath($path);
        if (empty($path)) {
            return false;
        }

        if (empty($group)) {
            $group = self::getDefaultGroup();
        }
        self::chgrp($path, $group, $recursive);
        return true;
    }
public static function chgrpPath($path, $group = null, $recursive = true)
    {
        $path = realpath($path);
        if (empty($path)) {
            return false;
        }

        if (empty($group)) {
            $group = self::getDefaultGroup();
        }
        self::chgrp($path, $group, $recursive);
        return true;
    }
public static function chgrpPath ( $ path , $ group = null , $ recursive = true ) { $ path = realpath ( $ path ) ; if ( empty ( $ path ) ) { return false ; } if ( empty ( $ group ) ) { $ group = self :: getDefaultGroup ( ) ; } self :: chgrp ( $ path , $ group , $ recursive ) ; return true ; }
Change group ownership on path

@param  string  $path      Path to chgrp
@param  string  $group     Group to change ownership to
@param  boolean $recursive Recurse into path or no (default: yes)
@return boolean True on success, or exception on failure
Change group ownership on path