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

        if (empty($user)) {
            $user = self::getDefaultUser();
        }
        self::chown($path, $user, $recursive);
        return true;
    }