Search found 3 matches

by neo_fox
Wed May 14, 2008 4:03 am
Forum: PHPGD.com
Topic: Images created with imagejpeg (and similar) are always 600
Replies: 3
Views: 6041

Re: Images created with imagejpeg (and similar) are always 600

an other question: are the files created from php-gd always sets 600 or it is not normal?
by neo_fox
Wed May 14, 2008 2:44 am
Forum: PHPGD.com
Topic: Images created with imagejpeg (and similar) are always 600
Replies: 3
Views: 6041

Re: Images created with imagejpeg (and similar) are always 600

Yes I know that this is the possible solution but I don't like use chmod. It causing sometimes problems if the server has some security add ons, especially if it is not right configured. I just wondering why 600 ? The standard created files under Linux are always 666 and the standard umask is 0022 s...
by neo_fox
Wed May 14, 2008 1:02 am
Forum: PHPGD.com
Topic: Images created with imagejpeg (and similar) are always 600
Replies: 3
Views: 6041

Images created with imagejpeg (and similar) are always 600

Hi all, I noticed that if I create an image using the function imagejpeg/imagepng the permissions of such file are always set to 600. This is in most cases no problem if the Apache and PHP are running from the same user (Apache) but on several server (CGI ??) this files are no more readable. All oth...