application/Espo/Core/Utils/File/Permission.php
public function getDefaultGroup($usePosix = false)
    {
        $defaultPermissions = $this->getDefaultPermissions();

        $group = $defaultPermissions['group'];
        if (empty($group) && $usePosix) {
            $group = function_exists('posix_getegid') ? posix_getegid() : null;
        }

        if (empty($group)) {
            return false;
        }

        return $group;
    }
public function getDefaultGroup($usePosix = false)
    {
        $defaultPermissions = $this->getDefaultPermissions();

        $group = $defaultPermissions['group'];
        if (empty($group) && $usePosix) {
            $group = function_exists('posix_getegid') ? posix_getegid() : null;
        }

        if (empty($group)) {
            return false;
        }

        return $group;
    }
public function getDefaultGroup ( $ usePosix = false ) { $ defaultPermissions = $ this -> getDefaultPermissions ( ) ; $ group = $ defaultPermissions [ 'group' ] ; if ( empty ( $ group ) && $ usePosix ) { $ group = function_exists ( 'posix_getegid' ) ? posix_getegid ( ) : null ; } if ( empty ( $ group ) ) { return false ; } return $ group ; }
Get default group user

@return int  - group id
Get default group user