Dam, I've already changed the owner/permissions of the files. Should I reinstall it?No, the permissions are right. They need to be writable by the web server.
Sadly i had already made the changes. Now I need to know who should be the Owner of files/foldersPlease do not change the file permissions or the owner/group. These files are automatically created by the web server, and you need to leave all permissions and owner/group as they were.
If I make all files/directories owned by php user www-data I can't upload files by sftp user (no permission)I can’t tell you, as this is specific to your web server. You will potentially encounter errors with your entire XenForo installation if you have made files and folders unwritable to your web server.
I would strongly recommend you wait for new files and folders to be generated and copy their permissions rather than try to guess.
The owner will be the sftp user that uploaded themIt is unclear because the correct owner varies by the web server, so consider installing a fresh copy of XenForo in another directory in another database and copy whatever file permissions it uses.
We use essential cookies to make this site work, and optional cookies to enhance your experience.