<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks Chuck - that does actually help - at least I can have a crack at using suphp on a test site now.<div><br></div><div><div>If there was a way to get it working via a single site admin account - that would avoid me having to create site admins for every single site. </div><div><br></div><div>SFTP-ing in to a site using a server admin account - the UID seems to work fine, the problem *seems* to be the GID - this is set as 'users' rather than 'sitex' GID.</div><div><br></div><div>So.....</div><div><br></div><div><b><i>'GID of script "/home/.sites/143/site2/web/index.php" is smaller than min_gid'</i></b></div><div><b><i><br></i></b></div><div>....is the error you get when you try to upload to a site using a site admin account.....</div><div><br></div><div>I notice that the GID of 'users' appears to be <b>100</b>, whereas the GID of 'site2' is <b>500</b> - and hence the error.</div><div><br></div><div>So where does suphp set the min_gid then?</div><div><br></div><div>Can I just hard code it to 100?</div><div><br></div><div>Cheers,</div><div><br></div><div>Jeff</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><div><div>On 7 Feb 2011, at 21:25, Chuck Tetlow wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div bgcolor="#ffffff">
I know this doesn't fix all your problems, and isn't the real answer to your question...
<br>
<br>But a site admin can SFTP/SSH if you allow SSH or shell access for that site. Under the left-side "Services" option, go to "Shell Access" and enable it for that site.
<br>
<br>
<br>
<br>Chuck
<br>
<br>
<br><font size="2">
<br><b>---------- Original Message
-----------</b>
<br>
From: Jeff Jones <<a href="mailto:jeffrhysjones@mac.com">jeffrhysjones@mac.com</a>>
<br>
To: <a href="mailto:Blueonyx@blueonyx.it">Blueonyx@blueonyx.it</a>
<br>
Sent: Mon, 07 Feb 2011 20:16:56 +0000
<br>
Subject: [BlueOnyx:06477] suphp - via SSH and multiple sites?
<br>
<br>> This one really has me stumped - could really use a solution to this
one guys please!!!
<br>>
<br>>
I have a BX server - that is hosting 10 plain and simple Wordpress sites - all
ours, and with the same developers uploading code for all sites over the course
of a day.
<br>>
<br>>
We can not use FTP/ FTPS due to NAT / Firewall restrictions with our setup -
SFTP/SSH is fine though.
<br>>
<br>>
We are unable to find a workable setup with BX where we can update wordpress via
SFTP/SSH, without us having to go in an chown all the files on a site to apache.
<br>>
<br>>
We have tried the suphp function - but it seems this only works with the
siteadmin - we do not want to have to create 10 siteadmins, and regardless - the
site admin can only upload files via FTP - not SFTP (via SSH). Annoyingly -
siteadmins can not SFTP/SSH.
<br>>
<br>>
What we really want is to get suphp working with one account - like the server
admin account.
<br>>
<br>>
Does anyone know how this is possible?
<br>>
<br>>
We could then use this one 'global' account and update all 10 sites via SFTP.
<br>>
<br>>
Cheers,
<br>>
<br>>
Jeff
<br>>
<br>>
Jeff Jones
<br>>
<a href="mailto:jeffrhysjones@mac.com">jeffrhysjones@mac.com</a>
<br>>
<br>>
_______________________________________________
<br>>
Blueonyx mailing list
<br>>
<a href="mailto:Blueonyx@blueonyx.it">Blueonyx@blueonyx.it</a>
<br>>
<a target="_blank" href="http://www.blueonyx.it/mailman/listinfo/blueonyx">http://www.blueonyx.it/mailman/listinfo/blueonyx</a>
<br><b>------- End of Original Message
-------</b>
<br>
</font>
</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></div></div></body></html>