Folder's permissions on creation

See all posts Reply

Folder's permissions on creation new!
by sakiss, 12 years, 9 months 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, 12 years, 9 months ago
You have to deal with this on a filesystem level. Search for umask in Google.Reply