<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='color:#1F497D'>This has been covered here
before.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Here is the summary:<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Safe mode on<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Safe mode gid on<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Ssh into the box and su to root
then<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>cd </span><b><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:red'>/home/.sites/112/site7/web/</span></b><span
style='color:#1F497D'> <o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>chgrp –R site7 *<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>chmod g+Sw wp-content/uploads<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>chmod –R g+w
wp-content/uploads/*<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>chmod g+Sw wp-content<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>This from memory, but should be
pretty darn close. It sets the critical directories (all really should be set)
with the group sticky bit. This means files created within will have a default
group matching the containing directory. The makes safe_mode_gid work. Making
the files group writable means you can modify them via ftp.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>I have assumed the files are
owned by user apache (or httpd, I forget which). If not you might want to try a
chown on wp-content/uploads.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>               
Thanks,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>                               
-Stephanie<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
blueonyx-bounces@blueonyx.it [mailto:blueonyx-bounces@blueonyx.it] <b>On Behalf
Of </b>Administrator<br>
<b>Sent:</b> Monday, February 08, 2010 1:46 PM<br>
<b>To:</b> blueonyx@blueonyx.it<br>
<b>Subject:</b> [BlueOnyx:03515] BO and Wordpress - HELP!<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><span style='font-family:"Trebuchet MS","sans-serif"'>I have
had so many issue with Wordpress and BO (not an issue with BQ).<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Trebuchet MS","sans-serif"'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-family:"Trebuchet MS","sans-serif"'>I keep
getting the following error when I am trying to upload Media (.jpg) to a Post. <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Trebuchet MS","sans-serif"'><o:p> </o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:24.0pt;
margin-bottom:0in;margin-left:24.0pt;margin-bottom:.0001pt;line-height:16.8pt'><b><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:red'>The
uploaded file could not be moved to
/home/.sites/112/site7/web/wp-content/uploads.<o:p></o:p></span></b></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:24.0pt;
margin-bottom:0in;margin-left:24.0pt;margin-bottom:.0001pt;line-height:16.8pt'><b><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:red'><o:p> </o:p></span></b></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:24.0pt;
margin-bottom:0in;margin-left:24.0pt;margin-bottom:.0001pt;line-height:16.8pt'><b><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"'>Its usually a
permission issue, and I chmod”ed” it, Still nothing and the same
error. I have read about the “Safe Mode” setting in PHP, but that
broke the rest of my sites. Currently settings SAFE MODE ON / SAVE MODE GID
OFF, sites working except no uploads.<o:p></o:p></span></b></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:24.0pt;
margin-bottom:0in;margin-left:24.0pt;margin-bottom:.0001pt;line-height:16.8pt'><b><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"'><o:p> </o:p></span></b></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:24.0pt;
margin-bottom:0in;margin-left:24.0pt;margin-bottom:.0001pt;line-height:16.8pt'><b><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:red'>[root@ndmail200
uploads]# cd ..<o:p></o:p></span></b></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:24.0pt;
margin-bottom:0in;margin-left:24.0pt;margin-bottom:.0001pt;line-height:16.8pt'><b><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:red'>[root@ndmail200
wp-content]# ls<o:p></o:p></span></b></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:24.0pt;
margin-bottom:0in;margin-left:24.0pt;margin-bottom:.0001pt;line-height:16.8pt'><b><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:red'>index.php 
plugins  test  themes  upgrade  uploads<o:p></o:p></span></b></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:24.0pt;
margin-bottom:0in;margin-left:24.0pt;margin-bottom:.0001pt;line-height:16.8pt'><b><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:red'>[root@ndmail200
wp-content]# ls -na<o:p></o:p></span></b></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:24.0pt;
margin-bottom:0in;margin-left:24.0pt;margin-bottom:.0001pt;line-height:16.8pt'><b><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:red'>total
32<o:p></o:p></span></b></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:24.0pt;
margin-bottom:0in;margin-left:24.0pt;margin-bottom:.0001pt;line-height:16.8pt'><b><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:red'>drwxrwxrwx
7 500 506 4096 Feb  5 06:03 .<o:p></o:p></span></b></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:24.0pt;
margin-bottom:0in;margin-left:24.0pt;margin-bottom:.0001pt;line-height:16.8pt'><b><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:red'>drwxrwsr-x
8  99 506 4096 Jan  9 16:25 ..<o:p></o:p></span></b></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:24.0pt;
margin-bottom:0in;margin-left:24.0pt;margin-bottom:.0001pt;line-height:16.8pt'><b><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:red'>-rw-r--r--
1 500 506   30 Jan  9 15:14 index.php<o:p></o:p></span></b></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:24.0pt;
margin-bottom:0in;margin-left:24.0pt;margin-bottom:.0001pt;line-height:16.8pt'><b><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:red'>drwxrwsr-x
5 500 506 4096 Feb  5 06:03 plugins<o:p></o:p></span></b></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:24.0pt;
margin-bottom:0in;margin-left:24.0pt;margin-bottom:.0001pt;line-height:16.8pt'><b><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:red'>drwxr-xr-x
2   0   0 4096 Jan 22 06:02 test<o:p></o:p></span></b></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:24.0pt;
margin-bottom:0in;margin-left:24.0pt;margin-bottom:.0001pt;line-height:16.8pt'><b><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:red'>drwxrwsr-x
8 500 506 4096 Jan 10 07:24 themes<o:p></o:p></span></b></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:24.0pt;
margin-bottom:0in;margin-left:24.0pt;margin-bottom:.0001pt;line-height:16.8pt'><b><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:red'>drwxr-xr-x
2 500 100 4096 Feb  5 06:04 upgrade<o:p></o:p></span></b></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:24.0pt;
margin-bottom:0in;margin-left:24.0pt;margin-bottom:.0001pt;line-height:16.8pt'><b><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#1F497D'>drwxrwxrwx
2   0   0 4096 Jan 22 10:00 uploads<o:p></o:p></span></b></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:24.0pt;
margin-bottom:0in;margin-left:24.0pt;margin-bottom:.0001pt;line-height:16.8pt'><b><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:red'>[root@ndmail200
wp-content]#<o:p></o:p></span></b></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:24.0pt;
margin-bottom:0in;margin-left:24.0pt;margin-bottom:.0001pt;line-height:16.8pt'><b><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:red'><o:p> </o:p></span></b></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:24.0pt;
margin-bottom:0in;margin-left:24.0pt;margin-bottom:.0001pt;line-height:16.8pt'><b><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"'>Any Ideas
would be much appreciated.<o:p></o:p></span></b></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:24.0pt;
margin-bottom:0in;margin-left:24.0pt;margin-bottom:.0001pt;line-height:16.8pt'><b><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"'><o:p> </o:p></span></b></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:24.0pt;
margin-bottom:0in;margin-left:24.0pt;margin-bottom:.0001pt;line-height:16.8pt'><b><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"'>Thanks.<o:p></o:p></span></b></p>

<p class=MsoNormal><span style='font-family:"Trebuchet MS","sans-serif"'><o:p> </o:p></span></p>

</div>

</div>

</body>

</html>