[BlueOnyx:07803] Open cart and umask

Stephanie Sullivan ses at aviaweb.com
Sun Jul 24 07:40:09 -05 2011


Has anyone used opencart on BX? The reason I ask is I've installed it -
easy-peasy. I enabled suphp and set site ownership.

One problem that in many mentions in their forums always gets blamed on the
hosting company. The default file creation permissions appear to be 600.
This is not ideal as an image created cannot be read by apache and give a
permissions error (more specifically it does not display the image in the
page though it's there. 

Is there a way (I could not find it at php.net) to change the default umask
for files created using suphp? I think there must be a reasonable way as all
the forum threads that ended with "go complain to your web hosting company"
stopped there. None of them had a follow-up of the web hosting company
telling them they were nuts.

I know there is a umask() function in php. I understand that. What I'm
looking for is a setting that will not require me to rewrite php from an
installed shopping cart I'll want my users to use.

Maybe the answer here is obvious. I don't know.

	Thanks,
		-Stephanie

PS - opencart seems much easier to work with than oscommerce/oscmax/zencart
AND validates with the default theme as full XHTML strict with SEO friendly
URLs to boot!




More information about the Blueonyx mailing list