Change permissions recursively on all files

find ./ -type f -exec chmod 660 {} \;

Change permissions recursively on all directories

find ./ -type d -exec chmod 770 {} \;

 
linux/commands.txt · Last modified: 2009/08/07 08:54 by bruce
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki