[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



find . \( -type f \) -exec chmod 666 {} \;

I thought from my IRIX background that the search was done in a subshell so 
had this syntax.  Is this an IRIX specific version oddity of the find command 
and the Linux/GNU version is written differently?
Dow


Jason Etheridge wrote:
>> Is there a way to use chmod recursively where it will only change the 
>> permissions on the files and not the directories?  chmod -R changes 
>> everything thus making the directories non-traversable.
> 
> 
> find . -type f -exec chmod 666 {} \;
> 
> That should work.  Type f refers to regular files.
> 
> -- Jason
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt; 

-- 
__________________________________________________________
Dow Hurst                  Office: 770-499-3428            *
Systems Support Specialist    Fax: 770-423-6744            *
1000 Chastain Rd. Bldg. 12                                 *
Chemistry Department SC428  Email:   dhurst at kennesaw.edu   *
Kennesaw State University         Dow.Hurst at mindspring.com *
Kennesaw, GA 30144                                         *
************************************************************
This message (including any attachments) contains          *
confidential information intended for a specific individual*
and purpose, and is protected by law.  If you are not the  *
intended recipient, you should delete this message and are *
hereby notified that any disclosure, copying, distribution *
of this message, or the taking of any action based on it,  *
is strictly prohibited.                                    *
************************************************************


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00141" href="msg00141.html">[ale] chmod question</a></strong>
<ul><li><em>From:</em> fletch at phydeaux.org (Fletch)</li></ul></li>
<li><strong><a name="00145" href="msg00145.html">[ale] chmod question</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00133" href="msg00133.html">[ale] chmod question</a></strong>
<ul><li><em>From:</em> graphicsguy at charter.net (Keith Morris)</li></ul></li>
<li><strong><a name="00134" href="msg00134.html">[ale] chmod question</a></strong>
<ul><li><em>From:</em> phasefx at magusaptus.com (Jason Etheridge)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00139.html">[ale] chmod question</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00141.html">[ale] chmod question</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00134.html">[ale] chmod question</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00141.html">[ale] chmod question</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00140"><strong>Date</strong></a></li>
<li><a href="threads.html#00140"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>