Folder's permissions on creation

See all posts Reply

Folder's permissions on creation new!
by sakiss, 14 years ago
Hi

I noticed that if the destination folder does not exist is being created.
The permissions of that folder are set to 777 by default.

Is it possible to have 755 permission when creating a folder?

*I have checked the $handle->dir_chmod but i don't want to change permissions every time an image is uploaded. I want the initial permissions to be set to 755

ThanksReply
Re: Folder's permissions on creation new!
by colin, 14 years ago
You have to deal with this on a filesystem level. Search for umask in Google.Reply