You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2015/02/24 18:17:27 UTC

svn commit: r1662031 - /commons/cms-site/trunk/content/xdoc/site-publish.xml

Author: sebb
Date: Tue Feb 24 17:17:27 2015
New Revision: 1662031

URL: http://svn.apache.org/r1662031
Log:
How to check permissions

Modified:
    commons/cms-site/trunk/content/xdoc/site-publish.xml

Modified: commons/cms-site/trunk/content/xdoc/site-publish.xml
URL: http://svn.apache.org/viewvc/commons/cms-site/trunk/content/xdoc/site-publish.xml?rev=1662031&r1=1662030&r2=1662031&view=diff
==============================================================================
--- commons/cms-site/trunk/content/xdoc/site-publish.xml (original)
+++ commons/cms-site/trunk/content/xdoc/site-publish.xml Tue Feb 24 17:17:27 2015
@@ -82,7 +82,10 @@
     </p>
     <p>
       <b>Please remember to check that the download_xyz.cgi script has the property "svn:executable *", otherwise downloads will fail.</b>
+      <br/>
+      Note: the following command can be used on people/minotaur to check the Commons CGI script permissions:
     </p>
+    <pre>find /www/commons.apache.org -name "*.cgi" ! -perm -111 -ls</pre>
     <subsection name="Configuration">
       <p>
         Default deployment targets are:



Re: svn commit: r1662031 - /commons/cms-site/trunk/content/xdoc/site-publish.xml

Posted by Phil Steitz <ph...@gmail.com>.
On 2/24/15 10:17 AM, sebb@apache.org wrote:
> Author: sebb
> Date: Tue Feb 24 17:17:27 2015
> New Revision: 1662031
>
> URL: http://svn.apache.org/r1662031
> Log:
> How to check permissions
>
> Modified:
>     commons/cms-site/trunk/content/xdoc/site-publish.xml
>
> Modified: commons/cms-site/trunk/content/xdoc/site-publish.xml
> URL: http://svn.apache.org/viewvc/commons/cms-site/trunk/content/xdoc/site-publish.xml?rev=1662031&r1=1662030&r2=1662031&view=diff
> ==============================================================================
> --- commons/cms-site/trunk/content/xdoc/site-publish.xml (original)
> +++ commons/cms-site/trunk/content/xdoc/site-publish.xml Tue Feb 24 17:17:27 2015
> @@ -82,7 +82,10 @@
>      </p>
>      <p>
>        <b>Please remember to check that the download_xyz.cgi script has the property "svn:executable *", otherwise downloads will fail.</b>
> +      <br/>
> +      Note: the following command can be used on people/minotaur to check the Commons CGI script permissions:
>      </p>
> +    <pre>find /www/commons.apache.org -name "*.cgi" ! -perm -111 -ls</pre>

IIUC what is going on, you can also verify this by doing

svn propget svn:executable download_Xxx.cgi

from a local site checkout, like what mvn site-deploy generates.  So
after site-deploy, just go to the site-content directory and run the
above command.  If it returns *, all is well.

Phil
>      <subsection name="Configuration">
>        <p>
>          Default deployment targets are:
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org