You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general-cvs@xml.apache.org by cr...@apache.org on 2006/03/22 06:36:07 UTC

svn commit: r387733 - /xml/site/publish.xml

Author: crossley
Date: Tue Mar 21 21:36:04 2006
New Revision: 387733

URL: http://svn.apache.org/viewcvs?rev=387733&view=rev
Log:
Reduce error messages. The chmod and chgrp commands try to be smart,
and not descend into unnecessary sub-directories.

Modified:
    xml/site/publish.xml

Modified: xml/site/publish.xml
URL: http://svn.apache.org/viewcvs/xml/site/publish.xml?rev=387733&r1=387732&r2=387733&view=diff
==============================================================================
--- xml/site/publish.xml (original)
+++ xml/site/publish.xml Tue Mar 21 21:36:04 2006
@@ -51,10 +51,13 @@
         <input addproperty="deploy.scp.passphrase" message="Enter passphrase for your private key for scp to ${deploy.scp.dest}:"/>
       </then>
     </if>
-    <!-- this is necessary because new files are not group writable -->
+    <!-- This is necessary because new files are not group writable.
+      The chmod and chgrp commands try to be smart, and not descend
+      into unnecessary sub-directories.
+    -->
     <sshexec host="${deploy.scp.host}" username="${deploy.scp.user}" 
         keyfile="${deploy.scp.keyfile}" passphrase="${deploy.scp.passphrase}"
-        command="cd /www/xml.apache.org;chgrp -R xml *;chmod -R g+rw *"/>
+        command="cd /www/xml.apache.org;chgrp xml *.*;chmod g+rw *.*;chgrp -R xml images skin;chmod -R g+rw images skin"/>
   </target>
   <target name="deploy" depends="deploy.scp, deploy.remote.fix.perms"/>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: general-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: general-cvs-help@xml.apache.org