Difference between revisions of "Talk:Dirty Tools"

From SME Server
Jump to navigationJump to search
m
m
Line 10: Line 10:
  
 
These two lines<br>
 
These two lines<br>
<code>find pfad -type f -print0 | xargs -0 chmod fff</code><br>
+
<code>find pfad -type f -print0 | xargs -0 -r chmod fff</code><br>
<code>find pfad -type d -print0 | xargs -0 chmod ddd</code><br>
+
<code>find pfad -type d -print0 | xargs -0 -r chmod ddd</code><br>
 
do the same.<br>
 
do the same.<br>
 
Michael Weinberger
 
Michael Weinberger

Revision as of 11:49, 23 December 2007

Good stuff

May be you are interested to include chmodr script in your rpm. You can get from

http://mirror.contribs.org/smeserver/contribs/nhall/sme/contribs/scripts/chmodr.tar.gz

For more info see http://forums.contribs.org/index.php?topic=30543.0

--Normando Hall 11:12, 10 August 2007 (MDT)

These two lines
find pfad -type f -print0 | xargs -0 -r chmod fff
find pfad -type d -print0 | xargs -0 -r chmod ddd
do the same.
Michael Weinberger