<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><div>I'm due to take a holiday next week so that's going to be a bit of a nightmare if I can't  find some sort of workaround to this issue. So I am not contemplating even more extreme ideas.</div><div><br></div><div>I have had two further suggestions:</div><div><br></div><div>1) Give their server level admin account (it's not actually the default on called 'admin' it's an additional one I created)  'root' level permissions</div><div>2) Change the password of the 'root' user and give this to them (which means I don't give them my root password)</div><div><br></div><div>Are either of these suggestions possible / going to cause a problem with BX? Is the root user password somehow bound to the 'admin' user?</div><div><br></div><div>Sorry to keep posting this lame stuff, it's just I really need this problem to go away!</div><div><br></div><div>Jeff</div><div><br></div><div><br class="khtml-block-placeholder"></div></div><br class="Apple-interchange-newline"></span> </div><br><div><div>On 22 Apr 2009, at 11:59, Jeff Jones wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi all,<div><br></div><div>Just a heads up on my situation, because we upload files via SFTP and then over to BX via SAMBA shares (via the admin account) we are not able to change permissions using the SFTP software. </div><div><br></div><div>So this means that all permission changing for me has to be done either via three ways:</div><div><br></div><div>The admin interface, phpchown, or via a shell.</div><div><br></div><div>The admin interface tickbox thingy is not quite ready yet, I'm not a PHP developer so phpchown is out, so that leaves me with shell.<br><div><br></div><div>After much inner turmoil, I finally decided I was OK to give someone a 'Server Admin' level shell account on the server. Not too happy about that - but I just need this problem solved as it's driving me nuts.</div><div><br></div><div>So for the last 6 months, whenever someone needs to create a wordpress site - I have to stop what I am doing and do  this:</div><div><br></div><div>(simple example)</div><div><br></div><div><b>drwxrwxr-- </b><span class="Apple-tab-span" style="white-space: pre; "><b>   </b></span><b>admin</b><span class="Apple-tab-span" style="white-space: pre; "><b>      </b></span><b>site1</b><span class="Apple-tab-span" style="white-space: pre; "><b>      </b></span><b>/Home/Sites/</b><a href="http://www.bb.com/Web/"><b>www.bb.com/Web/</b></a></div><div><br></div><div>I would go to /Home/Sites/<a href="http://www.bb.com/">www.bb.com/</a></div><div><br></div><div>and then do:</div><div><br></div><div>chown -R apache Web</div><div>chmod -R -774 web</div><div><br></div><div>This gets me to here:</div><div><br></div><div><b>drwxrwxr-- </b><span class="Apple-tab-span" style="white-space: pre; "><b>       <span class="Apple-style-span" style="white-space: normal;">apache</span></b></span><span class="Apple-tab-span" style="white-space: pre; "><b>     </b></span><b>site1</b><span class="Apple-tab-span" style="white-space: pre; "><b>      </b></span><b>/Home/Sites/</b><a href="http://www.bb.com/Web/"><b>www.bb.com/Web/</b></a></div><div><br></div><div>This is good enough for people to install wordpress - I would then manually go through and take out the world read files on sensitive stuff (config.php etc).</div><div><br></div><div>This works like a charm for *me* - however this the show stopper - you have to be root to do it.</div><div><br></div><div>The 'admin' account is unable to change the ownership of a file to apache - as it's not root!!!! Arrrggh!</div><div><br></div><div>As I really, really can not even think about giving people root access - I'm sort of screwed again.</div><div><br></div><div>It seems that every way I turn, I am unable to enable server admin users the option of creating a wordpress type php site.</div><div><br></div><div>Has anyone got any other ideas on this? How about giving the admin user the rights to chown files to apache? Would that possible? Is that bad?!?!</div><div><br></div><div>Cheers,</div><div><br></div><div>Jeff<div><div><div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><br class="Apple-interchange-newline"></span> </div><br><div><div>On 17 Apr 2009, at 16:22, Michael Stauber wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi Jeff,<br><br><blockquote type="cite">I know there was talk of some sort of tickbox / permissions fixer -<br></blockquote><blockquote type="cite">but in the meantime can anyone think of another way I can get around<br></blockquote><blockquote type="cite">this?<br></blockquote><br>It'll be added to BlueOnyx sometime this weekend.<br><br>-- <br>With best regards<br><br>Michael Stauber<br><br>_______________________________________________<br>Blueonyx mailing list<br><a href="mailto:Blueonyx@blueonyx.it">Blueonyx@blueonyx.it</a><br><a href="http://www.blueonyx.it/mailman/listinfo/blueonyx">http://www.blueonyx.it/mailman/listinfo/blueonyx</a><br></div></blockquote></div><br></div></div></div></div></div>_______________________________________________<br>Blueonyx mailing list<br><a href="mailto:Blueonyx@blueonyx.it">Blueonyx@blueonyx.it</a><br>http://www.blueonyx.it/mailman/listinfo/blueonyx<br></blockquote></div><br></body></html>