After a server migration, I am unable to upload any photos due to lack of permissions.
It keeps giving Error creating thumbnail! Error code: 1
Warning: copy([path]image_name.jpg) [function.copy]: failed to open stream: Permission denied in [path]gallery/image-inc.php on line 327
Is there an easy way to restore permissions? There are hundreds of folders, and I don't want to change permission on each of them manually.