• I keep getting file permission error when I try to upgrade wordpress to 6.0.2. Upon checking the files, I found that many files’ owner have been changed, as the screenshot below shows.

    screenshot1

    s3 is the normal user, 1052 comes from nowhere, it doesn’t even exist in the user list shown by less /etc/passwd. It seems though 1052 is user id.
    screenshot2

    This is as far as I can go to investigate this with my very limited linux knowledge. Has anyone encountered similar issues before? While I can simply change the user to solve the problem, I wonder if I should worry about being attacked, because this seems quite suspicious.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The fileowner is determined by the server-side software you use and not by WordPress. If something like this happens after an update, it could be that something has changed in the settings of this software compared to before. This can also happen, for example, by switching from the PHP module to PHP-FPM. Talk to your hoster support about this.

    Dion

    (@diondesigns)

    The only way a directory listing such as in your first screenshot could occur is if WordPress was downloaded as a .tar.gz archive and unpacked by a user with root/sudo capabilities.

    By any chance did you manually download/unpack the .tar.gz archive? If not, then please check Apache/PHP because it is probably running as a user with root/sudo capabilities…and that would be a disaster waiting to happen.

    Thread Starter shenkwen

    (@shenkwen)

    I can’t remember. I probably cloned this site from another site on the same server using Virtualmin’s clone server function.

    Thread Starter shenkwen

    (@shenkwen)

    The thing is, this site had been running well for quite a while and I never encountered such problem when I tried to upgrade wordpress or install other plugins.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘File owner changed silently’ is closed to new replies.