Changing the file permissions of only the directories, or only the files, under a directory can be a cumbersome task if you have taken the approach to manually look for only the directories and set file permissions individually. Thankfully, the following commands will find the directories and files respectfully under the sites/default/files/ directory, and change them to the most common file permissions for public files on a web server. To change all the directories to 755 (drwxr-xr-x):
find sites/default/files/ -type d -exec chmod 755 {} \;
To change all the files to 644 (-rw-r--r--):
find sites/default/files/ -type f -exec chmod 644 {} \;
An іmpressive share!
An іmpressive share! I have just forԝarded
this onto a coworkеr who has been doіng a little
homework on this. And he in fact orԁered me dinner
simply beϲause I found it for him... lol. So
allow me to reword this.... Thanks for the meal!!
But yeah, thanks for ѕpending time to discuss this issue here on your blog.
Viewers will help
Actually no matter if someone doesn't understand afterward its up to other viewers that they will help, so here it takes place.