
Originally Posted by
DivaVocals
.....But I don't know why the files and folder in your bmz_cache would explicitly set to 777.. The files and folders inside the bmz_cache folders should inherit their permissions from the parent folder (bmz_cache)
Thanks.
Just to clarify: the folders are not the problem. They are correctly being set at 755. One built-in extra function takes care of that
Code:
return @mkdir($target, 0755);
The problem is with the files within the subfolders 0,1,2, ... a,b,c etc which are being set at 777.
Ofc I could easily set all existing files within these subfolders to inherit permissions. In that case they would all be set to 755 as well.
Bookmarks