Joomla – JFolder::create: Could not create directory

When running Joomla 2.5 you may observe the following error :

JFolder::create: Could not create directory


This error is typically related to permissions. To resolve the issue run the following commands (replacing the path with the path of your Joomla installation).

cd /var/www/html/joomla-site
find . -type f -exec chmod 644 {} \;
find  . -type d -exec chmod 755 {} \;
chmod 777 cache

Rick Donato

Want to become a Joomla expert?

Here is our hand-picked selection of the best courses you can find online:
The Complete Web Development Bootcamp course
Joomla for Beginners course
Professional Websites with Joomla Gantry course
and our recommended certification practice exams:
AlphaPrep Practice Tests - Free Trial