Is it for me or everyone that the thumbnails generated by CI have 777 permissions ?
how can I set it to have just 644 by default ??
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
in your application/configs/constants.php file you have 4 constants:
For the Image_Lib library codeigniter stores the image file using
DIR_WRITE_MODEfor some unknown reason.You should double check this with the CI Guys as i believe they should be using
FILE_WRITE_MODE.you can open the library file and manually modify the sections such as
and change the line
@chmod($this->full_dst_path, DIR_WRITE_MODE);toFILE_WRITE_MODEso that it writes correctly.there is a few sections of the file like this so you may have to search for others