incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r1050511 - in /incubator/public/trunk: site-author/guides/releasemanagement.xml site-publish/guides/releasemanagement.html
Date Fri, 17 Dec 2010 22:27:13 GMT
Author: marvin
Date: Fri Dec 17 22:27:13 2010
New Revision: 1050511

URL: http://svn.apache.org/viewvc?rev=1050511&view=rev
Log:
Remove incorrect -R flag to chmod in a recipe for changing permissions.
Recursion is already handled via the "find" command, and the -R was causing
nested files to have their permissions set inappropriately to 775.

Modified:
    incubator/public/trunk/site-author/guides/releasemanagement.xml
    incubator/public/trunk/site-publish/guides/releasemanagement.html

Modified: incubator/public/trunk/site-author/guides/releasemanagement.xml
URL: http://svn.apache.org/viewvc/incubator/public/trunk/site-author/guides/releasemanagement.xml?rev=1050511&r1=1050510&r2=1050511&view=diff
==============================================================================
--- incubator/public/trunk/site-author/guides/releasemanagement.xml [utf-8] (original)
+++ incubator/public/trunk/site-author/guides/releasemanagement.xml [utf-8] Fri Dec 17 22:27:13
2010
@@ -324,8 +324,8 @@ TODO: maybe be better in a time line
         To do this from the top level:
             </p>
             <source>
-        > find . -type f -exec chmod -R 664 {} \;
-        > find . -type d -exec chmod -R 775 {} \;
+        > find . -type f -exec chmod 664 {} \;
+        > find . -type d -exec chmod 775 {} \;
         > chgrp -R incubator *
             </source>
             <p>

Modified: incubator/public/trunk/site-publish/guides/releasemanagement.html
URL: http://svn.apache.org/viewvc/incubator/public/trunk/site-publish/guides/releasemanagement.html?rev=1050511&r1=1050510&r2=1050511&view=diff
==============================================================================
--- incubator/public/trunk/site-publish/guides/releasemanagement.html [utf-8] (original)
+++ incubator/public/trunk/site-publish/guides/releasemanagement.html [utf-8] Fri Dec 17 22:27:13
2010
@@ -945,8 +945,8 @@ are encouraged.
         To do this from the top level:
             </p>
 <div class="source"><code>
-        &gt; find . -type f -exec chmod -R 664 {} \;
-        &gt; find . -type d -exec chmod -R 775 {} \;
+        &gt; find . -type f -exec chmod 664 {} \;
+        &gt; find . -type d -exec chmod 775 {} \;
         &gt; chgrp -R incubator *
             </code>
 </div>



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


Mime
View raw message