XenForo failed to open stream: Permission denied

Asphyxia

Server Monkey
Administrator
Joined
Apr 25, 2015
Messages
1,212
Points
252
Age
26
Location
North America
ErrorException: copy(/home/****/public_html/forums/internal_data/attachments/1/1549-515f33ed9e41c306eae50b31265a42e3.data): failed to open stream: Permission denied -library/XenForo/Helper/File.php:253

---

This is not fun! This is very probably caused by your web server not having access/rights to the appropriate files.

Solution? Simply give your web server user the rights to the web root directory.
Code:
chown -R www-data:www-data /var/www/html
Where /var/www/html is your web root directory. This would work for nginx, check your web server config file for the user though. ;)
If this does not solve your problem, please register and reply.
 

Top