Question

All Directory in Joomla 2.5.14 unwritable.

  • Posted September 2, 2013

Hi all,

I just moved my site to store in DigitalOcean. I installed Virtualmin to manage VPS on Ubuntu 12.04 32bit. Everything goes well but can not write, clear the cache on site, … :( All Directory in Joomla 2.5.14 unwritable. I have checked throught FTP (FileZilla) and they all seem to be set to 755 and files for 644.

I do not know how to permission directories are writable. You know what helped me with. Thanks!

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I don’t have any FTP server (and I don’t want to have) so I can only use the direct method.

But now when I tried to update Joomla from 3.2.3 to3.2.4 with Joomla Update and Installation method “Write files directly” I get ERROR: <br>Could not open /home/myuser/public_html/joomla root directory/LICENSE.txt for writing. When I do sudo chgrp -R www-data /home/myuser/public_html/joomla root directory/LICENSE.txt it obviously works for that file as well. But to make the whole update work I guess I need to run sudo chgrp -R www-data /home/myuser/public_html/joomla root directory/ <br> <br>Is that a security risk to do sudo chgrp -R www-data /home/myuser/public_html/joomla root directory/ ?

Thanks Kamal, sudo chgrp -R www-data /home/myuser/public_html/directory worked like a charm! <br> <br>Before I found this page I tried chown -R myuser:myusersgroup /home/myuser/public_html/directory* but it didn’t work at all.

Try to clear the cache again and paste the exact error.

Hi Kamal, <br> <br>I’ve done the command line, but the problem is still not solved. :( <br> <br>root@downsvn:/home/downsvn/public_html# sudo chgrp -R www-data /home/downsvn/public_html/cache <br>

@thanhhx57: The files in the cache folder should be chgrp’d to www-data as well: <br> <br><pre>sudo chgrp -R www-data /home/downsvn/public_html/cache</pre>

Hi all, <br> <br>I have folder permissions as above, but when I made clear the cache in Joomla error: JCacheStorageFile::_deleteFolderFailed deleting… <br> <br>You can see the picture more clearly to the problem. <br>http://i45.photobucket.com/albums/f72/hxt57/permissions_vps_zpsd1878710.jpg <br> <br>I’ve replaced chmod 777 for cache folder but does not solve the problem. How do I do to fix it? <br> <br>Thanks, <br>Thanh <br>

Sweet! :]

Hi Kamal Nasser, <br> <br>Thank you very much. <br> <br>I made the wrong commands & directories. I’ve revised it as follows & it was running fine. <br> <br>chgrp www-data administrator/components administrator/language administrator/language/en-GB administrator/language/overrides administrator/manifests/files administrator/manifests/libraries administrator/manifests/packages administrator/modules administrator/templates components images images/banners images/icons images/joomla images/js images/plg_imagesized images/sampledata images/thumb language language/en-GB language/overrides libraries media modules plugins plugins/authentication plugins/captcha plugins/content plugins/editors plugins/editors-xtd plugins/extension plugins/finder plugins/quickicon plugins/search plugins/sh404sefcore plugins/sh404sefextplugins plugins/system plugins/user plugins/xmap templates configuration.php cache administrator/cache <br> <br>chmod g+w administrator/components administrator/language administrator/language/en-GB administrator/language/overrides administrator/manifests/files administrator/manifests/libraries administrator/manifests/packages administrator/modules administrator/templates components images images/banners images/icons images/joomla images/js images/plg_imagesized images/sampledata images/thumb language language/en-GB language/overrides libraries media modules plugins plugins/authentication plugins/captcha plugins/content plugins/editors plugins/editors-xtd plugins/extension plugins/finder plugins/quickicon plugins/search plugins/sh404sefcore plugins/sh404sefextplugins plugins/system plugins/user plugins/xmap templates configuration.php cache administrator/cache <br> <br>Thank you again, <br>Thanh

My bad, it should be <code>chgrp</code> and not <code>chrp</code>. Please try that instead and see if they’re writable