sudo find path/To/Joomla -type d -print0 | xargs -0 -chmod 755To set permissions for Files:
sudo find path/To/Joomla -type f -print0 | xargs -0 chmod 744
Next you need to Set Permissions for "tmp" Directory:
sudo chmod 777 /pathToYour/Joomla/tmp
Last if you are working on localhost best to set Joomla's owner as Apache one:
sudo chown -R www:www /pathToYour/Joomla
you are the shit men....thank you ...wise one
ReplyDeleteHm... not working on my server. When I execute the forst commant I get:
ReplyDeleteXXX/htdocs # sudo find -type d | xargs chmod 755
chmod: cannot access `./administrator/components/com_rsform/assets/forms/Simple'
: No such file or directory
chmod: cannot access `Contact': No such file or directory
chmod: cannot access `Form': No such file or directory
On the tmp folder I get:
chmod: cannot access `/htdocs/tmp': No such file or directory
Someone know what is the problem?
Surely there is some missing track in the Database of your system...
ReplyDeleteAfter:
1)if your are the root you don't need the "sudo"
2)You need to add the correct path/To/Joomla