CHMODing folders

Hello! I just have a quick question.

I am running a script that requires me to chmod an image folder to 777. This has worked plenty of times before for me and the images upload to the permission of 664. However, this particular folder has the images uploading to the permission of 600.

Has anyone experienced a similar problem? And if so, were you able to resolve? Thanks!