[BlueOnyx:03246] Re: php error
Darrell D. Mobley
dmobley at uhostme.com
Tue Jan 5 13:04:16 -05 2010
> -----Original Message-----
> From: blueonyx-bounces at blueonyx.it [mailto:blueonyx-bounces at blueonyx.it]
> On Behalf Of Stephanie Sullivan
> Sent: Tuesday, January 05, 2010 11:48 AM
> To: 'BlueOnyx General Mailing List'
> Subject: [BlueOnyx:03244] Re: php error
>
> Darrell,
>
> When I do a install of wordpress on BQ or BX using the web based setup I
> get
> files owned by apache.apache. This is because the preserve the ownership
> in
> the archive when it's expanded. OK.
>
> So, I go and chgrp -R the files to sitexx so they can work in safe mode
> gid.
> Sounds good so far, but wait, there's more.
>
> By default the directories in a BQ/BX site folder have the chmod g+S bit
> set. This forces files within those directories to have the same group as
> the directory UNLESS the group ownership is explicitly set, like
> extracting
> a tar archive. Like when wordpress (or joomla) do their initial setup.
>
> Where are we left? The solution may be to chgrp -R your affected files.
> And
> chmod g+S all the directories in the Joomla install. This should keep the
> proper group ownership for uploaded files in php safe mode. It should also
> (if applied to the scripts for resizing you mention) enable them to
> operate.
>
> To be clear, I've worked with wordpress and drupal sites with safe mode
> on.
> This approach worked for each. I don't have direct experience with joomla.
>
> Hope this helps.
Yes, this helps. Thanks.
More information about the Blueonyx
mailing list