![]() type f -not -perm 644 -exec chmod 644 +Ĭhmod -R g+w var/cache/ var/logs/ app/config/Ĭhmod -R g+w media/files/ media/images/ translations/ If your file and folder permissions are incorrect, you can run the following commands to reset them: find. The key information we are looking for is in the first, third and fourth columns - the permissions, and the user and group owning the files/folders. It has an option of -l, which lists the contents in a long format, including their permissions and ownership amongst other information.įor a more detailed explanation of what all the information means, take a look at this article The ls command will list files and directories. In this directory, execute the following command: Log into your server using SSH, and change to the Mautic directory using the command This handy script could be found here: GitHub - PeachFlame/cPanel-fixperms Identifying the problem You could ask your hosting provider to run that script to reset the permissions to the correct values. Solution for hosting providers that offer cPanel accessĪ script to fix permissions & ownership, on files & directories, for cPanel accounts. Some hosting providers may be able to create a script to periodically reset permissions if this becomes an ongoing problem for you. You will need to have SSH access to your server, or ask someone who does to execute these commands for you. Resetting the permissions of your files and folders requires running some commands at the command line. How to fix permission-related problems in Mautic An update has been run as a different user to that which Mautic uses to run - resulting in some files and folders having their ownership changed. ![]()
0 Comments
Leave a Reply. |