Directory /statistics: permission denied after update 11.0.9 #55

Could this be done with a cron job that would change the permissions and then another cron to change them back hours later, after traffic reports have run?

I found this command -- would it work?

#!/bin/bash
_find="/usr/bin/find"
_paths="/logs"
for d in $_paths
do
$_find $d -type f -exec chmod 0666 {} \;
done

If a security issue does not bother you, you can solve the problem with the command:

# chmod -R 755 /var/www/vhosts/*/statistics/

But I strongly do not recommend it.
 
Back
Top