[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Mon Jun 7 13:19:34 2004 -->
- <!--x-from-r13: tencuvpfthl ng punegre.arg (Yrvgu [beevf) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] chmod question -->
- <li><em>date</em>: Mon Jun 7 13:19:34 2004</li>
- <li><em>from</em>: graphicsguy at charter.net (Keith Morris)</li>
- <li><em>in-reply-to</em>: <<a href="msg00136.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00133.html">[email protected]</a>> <<a href="msg00136.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] chmod question</li>
find $DIR -type f -print|xargs chmod 666 OR
find . -type f -exec chmod 666 {} \;
thanks again! you guys rock!
Keith
Christopher Fowler wrote:
> find /dir -type f -exec chmod 666 {} \;
>
> On Mon, 2004-06-07 at 12:17, Keith Morris wrote:
>
>>Hello all.
>>I have a production samba server that has thousands of files that I need
>>to change permissions on. I would like to change all files to have
>>permissions of 666 as there are no linux executable files there.
>>
>>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.
>>
>>Any suggestions?
>>
>>Thanks in advance.
>>Keith Morris
>>
>>
>>_______________________________________________
>>Ale mailing list
>>Ale at ale.org
>><a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
>
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--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="00136" href="msg00136.html">[ale] chmod question</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00137.html">[ale] postfix / Bellsouth as ISP [Solved]</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00139.html">[ale] chmod question</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00136.html">[ale] chmod question</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00139.html">[ale] chmod question</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00138"><strong>Date</strong></a></li>
<li><a href="threads.html#00138"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>