Running XenForo 2 Upgrade fails due to ownership even though Linux group has perms

Status
This content is read-only, or is not open for further replies.

My Dime Is Up

Guest
offline
PHP:

Code:
if (!$isWindows)
        {
            // Only allow the upgrade to run if we're not likely to cause mixed file ownership.
            // This is possibly over restrictive. (If relaxed in the future, we should special case
            // to prevent using root unless the files are owned by root.)

            $uid = function_exists('posix_getuid') ? posix_getuid() : fileowner(File::getTempFile());
            if ($uid !== fileowner(__FILE__))
            {
                $error =...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom