Hi,
I recently deployed Ubuntu 14.04 droplet and installed Joomla! website on it and encountered a strange error.
I purposefully entered incorrect password and the website, in place of showing incorrect login error, shows a page which says “File for writing log is not writable”. When I checked permissions, it was as same (755) as it was when I had earlier installed the same site one month ago.
I tried changing directory permissions but it didn’t worked. When I used following command, it worked like a charm:
sudo chmod -R a+rw /dir-name
I am wondering, what does it really imply. I just copied this from some forum but don’t know what does ‘a+rw’ or ‘a+rx’ implies.
Can someone pls help?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
You should check that you’ve uploaded your files as the “serverpilot” user, not “root”. Because PHP runs as your app’s system user (“serverpilot” by default), if your the files and directories are owned by “root”, PHP scripts won’t be able to write to them.
There’s more documentation on fixing file ownership issues here:
<a href=“https://serverpilot.io/community/articles/how-to-fix-file-permissions.html”>https://serverpilot.io/community/articles/how-to-fix-file-permissions.html</a>
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.