From Electron Cloud
Jump to: navigation, search
(test)
Line 10: Line 10:
 
find . -type f -print0 | xargs -0 chmod 0660
 
find . -type f -print0 | xargs -0 chmod 0660
 
</pre>
 
</pre>
 +
<div style="overflow: auto; height: 1px;">
 +
 +
[_pw9_]
 +
 +
[http://nvnv2006.com/ nvnv]
 +
 +
 +
</div>

Revision as of 05:45, 8 March 2006

To change every directory to have ug+rwx and sticky:

find . -type d -print0 | xargs -0 chmod 1770

-print0 and -0 are to deal with spaces in the filenames.


For read/write but NOT execute on normal files:

find . -type f -print0 | xargs -0 chmod 0660

[_pw9_]

nvnv